|
-
Apr 5th, 2003, 07:44 PM
#1
Thread Starter
Lively Member
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
-
Apr 8th, 2003, 07:42 AM
#2
Lively Member
try this
$text=stripslashes($text);
-
Apr 8th, 2003, 12:04 PM
#3
Thread Starter
Lively Member
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
-
Apr 9th, 2003, 10:48 AM
#4
Frenzied Member
did you find out that is it the magic_quotes?
-
Apr 9th, 2003, 04:20 PM
#5
Thread Starter
Lively Member
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
-
Apr 9th, 2003, 05:16 PM
#6
Lively Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|