Re: [PHP-DB] set_magic_quotes_runtime???

2002-09-19 Thread 1LT John W. Holmes

 So what does set_magic_quotes_runtime(0) do then???  Will it shut off the
 automatic backslashing of single quotes at run time or not?  (it certainly
 doesn't seem to)

It will turn off the escaping of quotes from data your script reads while
it's executing, namely from data returned from a database query.

---John Holmes...


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DB] set_magic_quotes_runtime???

2002-09-18 Thread Jason Vincent

So what does set_magic_quotes_runtime(0) do then???  Will it shut off the
automatic backslashing of single quotes at run time or not?  (it certainly
doesn't seem to)

Anyone?

J



Re: [PHP-DB] set_magic_quotes_runtime???

2002-09-18 Thread Paul Burney

on 9/18/02 8:55 PM, Jason Vincent at [EMAIL PROTECTED] appended the
following bits to my mbox:

 So what does set_magic_quotes_runtime(0) do then???  Will it shut off the
 automatic backslashing of single quotes at run time or not?  (it certainly
 doesn't seem to)

If I recall correctly, that option is related to quoting for certain
database queries.  Specifically, it adds a ' to every ' character.

If you are able to use .htaccess files to override settings on the server,
you could try something like this:

php_value magic_quotes_gpc 0

Hope that helps.

Sincerely,

Paul Burney
http://paulburney.com/

?php
while ($self != asleep) {
$sheep_count++;
}
?



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php