Re: php converts \ to \\, how can I stop that

From: Date: Fri, 03 May 2002 09:17:56 +0000
Subject: Re: php converts \ to \\, how can I stop that
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95846@lists.php.net to get a copy of this message
On Friday 03 May 2002 17:07, Mikael Syska wrote: > I have made a phpscript to register all things on a computer, and then it > stores the information in a database, but php converts \\CADS1\HP2100PCL to > \\\\CADS1\\HP2100PCL how can I force PHP to not do that cause \\\\CADS1 > \\HP2100PCL aint a right address for a printer, cause there are too many > \\, hope the are someone that can help me..... After you've retrieved the info from the database run it through stripslashes() before displaying it. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* God made the integers; all else is the work of Man. -- Kronecker */

« previous php.general (#95846) next »