From:             [EMAIL PROTECTED]
Operating system: Apache 1.3.14 / Debian 2.2
PHP version:      4.0.4
PHP Bug Type:     Scripting Engine problem
Bug description:  php addslashes() the entire page

PHP will intermittently produce a page where all quotes 
are backslashed, such as:

<body bgcolor=\"000000\" text=\"ffffff\" link=\"ffffff\" 
  alink=\"c0c0c0\" leftmargin=\"0\" topmargin=\"0\" 

<table width=\"100%\" height=\"100%\" border=\"0\" 

This particular page is produced using a template system, 
so it has passed through file(), join, spliti, 
str_replace, and echo.

The original data (in the file) contained no backslashes 
and all magic quotes-related options are off (at least, 
according to phpinfo).  The phpinfo output is not affected 
by this.

This is a vhosting server and one site (not this one) has 
magic_quotes_gpc and magic_quotes_runtime enabled in their 
.htaccess file.

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to