Results 1 to 6 of 6

Thread: passing input text problem

  1. #1

    Thread Starter
    Lively Member Brandito's Avatar
    Join Date
    Nov 2000
    Location
    Here, There, Every Where!
    Posts
    106

    passing input text problem

    Hey!
    I am having a problem passing the value of an Input Text box with out php modifying the data.

    Here is an example:
    Text data: Brandon's website

    Once it has been passes like myapp.php?text=Brandon's website
    It becomes: Brandon\'s website

    How do I make it take out the \ ?

    Thanx
    Brandito
    Master of Cyber Fu - A Temple of Digital Chi

  2. #2
    Lively Member
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    96
    try this

    $text=stripslashes($text);

  3. #3

    Thread Starter
    Lively Member Brandito's Avatar
    Join Date
    Nov 2000
    Location
    Here, There, Every Where!
    Posts
    106

    thanx

    Thanx.. I knew about that function.
    I was wanted to know how to get around using that function.
    I found out there is a global variable that can be changed...

    Thanx,
    Brandon
    Master of Cyber Fu - A Temple of Digital Chi

  4. #4
    Frenzied Member
    Join Date
    Nov 1999
    Posts
    1,337
    did you find out that is it the magic_quotes?

  5. #5

    Thread Starter
    Lively Member Brandito's Avatar
    Join Date
    Nov 2000
    Location
    Here, There, Every Where!
    Posts
    106

    yes

    yes I did.
    Thanks though. It took me a long time to find that info on the net.

    l8r
    Master of Cyber Fu - A Temple of Digital Chi

  6. #6
    Lively Member
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    96
    www.php.net

    most info is there

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width