Re: seriuos problem with slaches
| From: | Leif K-Brooks | Date: | Fri, 11 Apr 2003 09:40:44 +0000 |
| Subject: | Re: seriuos problem with slaches | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27016@lists.php.net to get a copy of this message | ||
Most likely, you have magic_quotes_runtime on. Turn it off.
Ahmed wrote:
hi, i am reading data from text file and when it reads it adds slaches like that "Birdy birdy in the sky, left a poopie in my eye. Me don\'t care, me don\'t cry, me just happy that a cow can\'t fly!!" how can i remove these slaches? i am using this piece of code <? $sms=file("sms.txt"); $number_of_sms = count($sms); if ($number_of_sms == 0){ echo "<p><font color=\"#FFFF00\"><strong>There is no sms have been submited to this section yet</strong></font><br>"; } for ($i=0; $i<$number_of_sms; $i++){ $line=explode("\t", $sms[$i]);-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.echo "<p><font color=\"#FFFF00\" size=\"2 px\">".$line[0]." <br></font>"." <br><font color=\"#CCFFFF\" size=\"2 px\">Thanks to ".$line[1].</font></p>"; echo "<font color=\"red\">--------------------------------------</font>" } ?> waiting for reply thanks a lot