Jump to content


Photo

PHP Slashes Problem


  • Please log in to reply
2 replies to this topic

#1 jasper182

jasper182
  • Members
  • PipPipPip
  • Advanced Member
  • 39 posts

Posted 14 October 2006 - 07:15 PM

Hello,

I just installed WAMP on my computer to do some testing on some PHP code for school, but I noticed that slashes are being added to data submitted to my forms.  Is this a WAMP setting or is it something new in PHP 5?  Its got me scratching my head, so any information you could provide would be appreciated.  Thanks

#2 sinisake

sinisake
  • Members
  • PipPipPip
  • Advanced Member
  • 63 posts
  • LocationSerbia,

Posted 14 October 2006 - 07:29 PM


However for output-use 'stripslashes' function.
I hope this helps you.

#3 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 15 October 2006 - 11:07 AM

This is a php setting. Open trhe php.ini and dissable magic_quotes

Once you have done restart WAMP.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users