Re: Print Outputs \'s?
| From: | 1LT John W. Holmes | Date: | Wed, 08 May 2002 12:21:47 +0000 |
| Subject: | Re: Print Outputs \'s? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96578@lists.php.net to get a copy of this message | ||
> 1) I assume that the there is one "global" php.ini file? Since I
> am on an ISP, I can't modify the file. Or, can I have a "local"
> php.ini file?
No. You can put settings for PHP in an .htaccess file if your host will let
you, though.
> 2) When did the /'s get added to my strings? Did this happen
> because the strings were the result of arguments passed in a
> POST?
Yes. magic_quotes_gpc will automatically add the \'s to GET, POST, and
COOKIE data. This is make it easier to insert into databases and files.
Just run stripslashes() on the data if you need to display it.
---John Holmes...