A
Anonymous
Guest
I have a problem with an installation of PHP 4.1.2 in that stripslashes are not working correctly. This problem is sporadic and appears to follow no particular pattern.
I am using a competent bespoke CMS to display text on a site and slashes appear within that text where there are none in the MySQL database that it comes from. It's not a problem with a lack of the stripslashes function being present when the echo is performed. I can say this as the CMS has run many sites for over two years without problems. The problem began shortly after my hosting provider upgraded PHP on the server to v 4.1.2.
Also, text posted back to the database inherits slashes where it should not.
Testing on the most simple of platforms through creating a simple table and echoing the results of a query on the table onto the screen leads me to believe it is a configuration problem. On continual refreshes of the page the problem page either normally or abnormally at random intervals after each refresh.
Has anyone heard of this and know a cure?
Thanks,
Hadleigh.
I am using a competent bespoke CMS to display text on a site and slashes appear within that text where there are none in the MySQL database that it comes from. It's not a problem with a lack of the stripslashes function being present when the echo is performed. I can say this as the CMS has run many sites for over two years without problems. The problem began shortly after my hosting provider upgraded PHP on the server to v 4.1.2.
Also, text posted back to the database inherits slashes where it should not.
Testing on the most simple of platforms through creating a simple table and echoing the results of a query on the table onto the screen leads me to believe it is a configuration problem. On continual refreshes of the page the problem page either normally or abnormally at random intervals after each refresh.
Has anyone heard of this and know a cure?
Thanks,
Hadleigh.