User Profile

Collapse

Profile Sidebar

Collapse
MoroccoIT
MoroccoIT
Last Activity: Jun 25 '09, 10:55 PM
Joined: May 21 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • MoroccoIT
    replied to How to use Tinyurl.com dynamically
    How to use Tinyurl.com dynamically

    aCoder -

    Your solution would work only if I have a field that collects URLs only, however, my field is a textarea, the visitors are allowed to put text in this field, but at times, they paste URLs too within the text – that is the issue I am facing with.

    If there is a long URL berried within the text, how do I shorten it or worse case scenario, how do I prevent/strip...
    See more | Go to post

    Leave a comment:


  • MoroccoIT
    started a topic How to use Tinyurl.com dynamically

    How to use Tinyurl.com dynamically

    I have a feedback Form from which my visitors send their views. At times, I see very long URLs get submitted via my Form and get entered into my database. But, when displaying the URL, my page gets distorted..

    Is there a way I can script this so I can automatically convert this long URL to a small url using TinyURLcom for instance - like what Twitter does..

    i.e. I want to shorten this long URL automatically before it...
    See more | Go to post

  • Saving Values using an alternative to Sessions

    I am saving a value ID using sessions on this feedback Form, but at times, if the visitor takes too long to type a a feedback, the session times out and the user received an error message.

    Please note, my session is set to 20 mn on the application.cfm , I do not want to increase its value because of other issues that might arise.

    I'd like to use an alternative way to sessions to save the Value ID - I am sure there is...
    See more | Go to post

  • MoroccoIT
    replied to Find a Country based on an IP Addr.
    Find a Country based on an IP Addr. Reply to Thread

    acoder - Thanks for the reply!

    My objective is not to display the IP on the same page, but rather, to retrieve a country name based on an IP@. Please note, I do have the IP address saved in my database, but I don't have its country name where it originated from.

    Currently, when I receive an IP for a particular user, I manually search its country name...
    See more | Go to post

    Leave a comment:


  • MoroccoIT
    started a topic Find a Country based on an IP Addr.

    Find a Country based on an IP Addr.

    Greetings -

    I used this code on the link below to trap IP addresses, it worked very nicely.
    http://www.scandicweb.com/coldfusion...tutorial45.cfm

    Here is a sample output of my report: (note: I removed the real data in purpose)

    Tracking_Client _Address: 999.99.99.99
    Tracking_Client _Host: www.xyz.com
    Tracking_Referr er: http://www.xyz.com/myfeedback.cfm?ID=531...
    See more | Go to post

  • MoroccoIT
    started a topic Embed tag turns to InvalidTag

    Embed tag turns to InvalidTag

    Greetings -

    I have a CF Form that uploads news articles, at times, I like to paste Youtube Videos with my articles. I noticed that on one server, it works fine, but on a different hosting company, my Youtube videos don't work. After I checked the database, I can see that the youTube code did get uploaded, but the Embed tag turned to InvalidTag - Please see my youtube video script below.

    Does anyone know what is causing...
    See more | Go to post

  • Thank you so much acoder, it worked.

    However, I am still struggling to limit the number of files to be uploaded. As you can see, at the begening of the code I pasted, you should see:

    Code:
    <cfset REQUEST.FileCount = 5 />
    But this only displays 5 Forms from which a user can select the 5 files to upload. Once these 5 files are uploaded, he/she can keep uploading more files.

    Instead, I'd...
    See more | Go to post

    Leave a comment:


  • Multiple files upload while updating DB

    Greetings -

    ATTN Bytes Admin: My apologies, I am new to your Forum, I posted this thread on other place by accident, I tried to delete it but I couldn't, please delete the other one when you have a chance. Thank you.

    Back to my thread:
    I saw this code (pls see link below or code is pasted blow as well) that does mupltiple files upload. It works fine, but I...
    See more | Go to post

    Leave a comment:


  • MoroccoIT
    started a topic Multiple files upload while updating DB

    Multiple files upload while updating DB

    Greetings -

    I saw somewhat similar code (pls see link below) that does mupltiple files upload. It works fine, but I wanted to populate the database with the same files that are uploaded to mydirectory, but for some reason, I am getting different file names on the database.


    Here is the full code: please do serach on kewword "database" to see where I added my database code - that where I need help with....
    See more | Go to post
    Last edited by acoder; May 22 '09, 10:51 AM. Reason: Added [code] tags
No activity results to display
Show More
Working...