Nov 30th, 2012, 5:39 PM
Some very helpful information from kwhitlock regarding the issue above:
Since my installation is using the latest release of PHP Version 5.4.3 and MYSQL 5.0.10, the php.ini file setting for get_magic_quotes=On or Off has been deprecated... so the if () never gets executed to strip out the slashes when it fetches the data out of the field. An update of the form, just escapes them again.
When I ran this on an older version of php and MySQL where magic_quotes were still around, it works just fine.
So some fix is needed or if you can tell me the proper place to insert this php.ini setting, I can try that. I tried putting it under [mysql] and it error'ed the whole application. I might even write a functions that returns true for get_magic_quotes_gpc() and figure out if I can hook it somewhere so I don’t have to modify the build code.
Here is where I got the clue about the deprecated function:
http://us.php.net/manual/en/function.get...es-gpc.php
http://answers.yahoo.com/question/index?...628AAFzQJ0
Thanks Kellie!!
Since my installation is using the latest release of PHP Version 5.4.3 and MYSQL 5.0.10, the php.ini file setting for get_magic_quotes=On or Off has been deprecated... so the if () never gets executed to strip out the slashes when it fetches the data out of the field. An update of the form, just escapes them again.
When I ran this on an older version of php and MySQL where magic_quotes were still around, it works just fine.
So some fix is needed or if you can tell me the proper place to insert this php.ini setting, I can try that. I tried putting it under [mysql] and it error'ed the whole application. I might even write a functions that returns true for get_magic_quotes_gpc() and figure out if I can hook it somewhere so I don’t have to modify the build code.
Here is where I got the clue about the deprecated function:
http://us.php.net/manual/en/function.get...es-gpc.php
http://answers.yahoo.com/question/index?...628AAFzQJ0
Thanks Kellie!!