Possible Duplicate:
“slash before every quote” problem
I am using FPDF to generate pdfs for labels. On the labels they have inches (ie: ” ). On localhost there was no problem, but now on my production server FPDF outputs a backslash before quotation marks in the produced PDF.
4 1/2" gets transformed into: 4 1/2\"
Tried my google skills, but to no avail. Anybody know what’s happening?
You can use get_magic_quotes_gpc to confirm if the values are being escaped or not during post:
PHP
This will return the value without slashes if the problem is being originated by the POST due to magic_quotes.
Since Magic Quotes are:
Having you the localhost with 5.3.4, thus not using the Magic Quotes, probably the production server is using them, since the version specified is 5.2.17.