saving text in file

From: Date: Wed, 29 Nov 2000 01:33:15 +0000
Subject: saving text in file
Groups: php.general 
Request: Send a blank email to php-general+get-27740@lists.php.net to get a copy of this message
Hi! I have a text box in a form, the contents of which i'm saving in a file using php. The problem is that " are saved as \" I'm saving it as follows. for($i=0;isset($text[$i]);$i++) fputs($fp,$text[$i],strlen($text[$i])); fclose($fp); Is there a way i can avoid the backslashes... or do i have to remove them myself ? Thanks -deepak

« previous php.general (#27740) next »