magic_quotes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My web site consists of some hard-coded html but on the main, data is 
stored in MySQL and through the use of PHP I generate pages of html.

Everything went well this year until around June/July time when I 
started noticing quotes (') were escaped in the generated html, so 
"it's" would appear as "it\'s".  I use Dreamweaver 8 to develop my 
site.

Hard-coded html is fine, it also obeys any CSS within it, PHP 
generated html however doesn't obey CSS or URL's.

Looking at my computer server setup everything runs properly on the PC 
but not on my webspace, it ran OK for 18 months on both.  Looking at 
php.ini on my PC I note magic_quotes_gpc is set to on and 
magic_quotes_runtime is set to off.  On my webspace I note 
magic_quotes_gpc is set to on as is magic_quotes_runtime, I assume 
this is what's screwing up the PHP generated html.

Is there a way to avoid this?

Bryan

-- 
Using an Iyonix Aria Cube running Risc OS 5.13 and Virtual RPC 
AdjustSA running RO 6.10 on a PC.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux