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
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
[EMAIL PROTECTED] (Jason Wong) wrote in news:php.general-95846
@news.php.net:
stripslashes()
thanks, now it works
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Friday 03 May 2002 17:29, Mikael Syska wrote:
[EMAIL PROTECTED] (Jason Wong) wrote in news:php.general-95846
@news.php.net:
stripslashes()
thanks, now it works
Do read up on /why/ you need it.
--
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems
[EMAIL PROTECTED] (Jason Wong) wrote in news:php.general-95848
@news.php.net:
@news.php.net:
stripslashes()
thanks, now it works
Do read up on /why/ you need it.
ohhh, what do u mean???
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Friday 03 May 2002 17:37, Mikael Syska wrote:
[EMAIL PROTECTED] (Jason Wong) wrote in news:php.general-95848
@news.php.net:
@news.php.net:
stripslashes()
thanks, now it works
Do read up on /why/ you need it.
ohhh, what do u mean???
OK, at the very least read the manual
You could also set these values in your php.ini:
magic_quotes_gpc = off
magic_quotes_runtime = off
If you do this, then remember when inserting the data into a mysql
database, it still needs to be escaped:
$sql = sprintf(
insert into table (id, field) values ('', '%s'),
7 matches
Mail list logo