So if i posted some special chars through html to a php script like,and echo it out i get an output ofQuote:
'@'#
What do i need to change in php.ini or what code can i add to the php to stop this?Quote:
\'@\'#
I have php ver 5.2.8.
Printable View
So if i posted some special chars through html to a php script like,and echo it out i get an output ofQuote:
'@'#
What do i need to change in php.ini or what code can i add to the php to stop this?Quote:
\'@\'#
I have php ver 5.2.8.
you could use stripslashes(), but magic_quotes_gpc is the directive you're looking for in the configuration file.