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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php