RE: [PHP] Print Outputs \'s?

From: Date: Wed, 08 May 2002 12:05:10 +0000
Subject: RE: [PHP] Print Outputs \'s?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96574@lists.php.net to get a copy of this message
Thanks. I have 2 followup questions: 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? 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? > -----Original Message----- > From: Rasmus Lerdorf [mailto:rasmus@php.net] > Sent: Tuesday, May 07, 2002 9:44 PM > To: Jonathan Rosenberg > Cc: php-general > Subject: Re: [PHP] Print Outputs \'s? > > > Turn off magic_quotes_gpc in your php.ini or run > stripslashes() on the > string before printing. > > -Rasmus > > On Tue, 7 May 2002, Jonathan Rosenberg wrote: > > > Hmmm ... when I use print it seems that it is > escaping certain > > characters with \'s. For example, it is escaping " and & > > characters. > > > > How can I stop it from doing this? > > > > -- > > JR > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#96574) next »