file

From: Date: Fri, 28 Mar 2003 10:26:14 +0000
Subject: file
Groups: php.general 
Request: Send a blank email to php-general+get-141402@lists.php.net to get a copy of this message
hi all! i have a simple program to open and write a file. but the file is not getting created. can anyone please spot the mistake? giving the code below. thanks a lot, diksha. <?php echo"hi?how are u doing??"; $fp = fopen ("sandrew.html", "w"); string="<html><head><title>hi</title></head><body>i am fine</body></html>"; $contents=fwrite($fp,string); echo "'$contents'"; fclose($fp); ?> _______________________________________________________________________ Odomos - the only mosquito protection outside 4 walls - Click here to know more! http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&wn

« previous php.general (#141402) next »