Re: Filtering out \ when a ' is user entered?

From: Date: Wed, 27 Jun 2001 17:52:44 +0000
Subject: Re: Filtering out \ when a ' is user entered?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55404@lists.php.net to get a copy of this message
See www.php.net/stripslashes Also check out the PHP configuration settings for magic_quotes_gpc -steve At 9:18 PM -0700 6/26/01, Marcus James Christian wrote:
Hello, I'm pretty new to PHP but all I've seen of it so far I pretty much love! I've built a web log but when the user enters their data and they use ' or " (and you know they will) php always shows it from the included web log as \' How can I filter out these backslashes so they don't appear on the final public viewable page? Thanks, Marcus -- Marcus James Christian - UNLIMITED - Multimedia Internet Design http://mjchristianunlimited.com
-- +------ Factoid: Of the 100 largest economies in the world, 51 are ------+ | Steve Edberg University of California, Davis | | sbedberg@ucdavis.edu Computer Consultant | | http://aesric.ucdavis.edu/ http://pgfsun.ucdavis.edu/ | +--- corporations ------ http://www.ips-dc.org/reports/top200text.htm ---+

« previous php.general (#55404) next »