htmlspecial chars does not work on server
| From: | Martijn Damen | Date: | Tue, 12 Mar 2002 12:07:32 +0000 |
| Subject: | htmlspecial chars does not work on server | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88184@lists.php.net to get a copy of this message | ||
Hi,
I just uploaded the perfect working site to the server, but suddenly
htmlspecialchars does not seem te work there, so a lot of errors if people
put entries with " and ' in the guestbook.
The server is a cobalt raq server, build with:
'./configure' '--prefix=/usr' '--with-apxs=/usr/sbin/apxs'
'--with-gd'
'--with-gettext=/usr' '--enable-safe-mode'
'--with-config-file-path=/etc/httpd' '--with-exec-dir=/usr/bin'
'--with-zlib' '--enable-magic-quotes' '--with-regex=system'
'--with-ttf=/usr/lib/libttf.so' '--enable-track-vars' '--enable-xml'
'--disable-debug' '--with-libdir=/usr/lib' '--with-db3'
'--with-interbase=shared' '--with-mysql=shared' '--with-pgsql=shared'
'--with-ldap' '--with-imap'
I presume it has something to do with --enable-magic-quotes...
Anybody with experience with this?
Tnx, Martijn