At 3/28/2003 10:26 AM, Diksha Neel wrote:

> i have a simple program to open and write a file.
> but the file is not getting created.
> can anyone please spot the mistake?

> <?php
> echo"hi?how are u doing??";
> $fp = fopen ("sandrew.html", "w");
> string="<html><head><title>hi</title></head><body>i am

$string =

> fine</body></html>";
> $contents=fwrite($fp,string);

fwrite($fp, $string);
--
S. Keller
UI Engineer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Pkwy.
Anchorage, AK 99508
907.770.6200 ext.220
907.336.6205 (fax)
Email: [EMAIL PROTECTED]
Web: www.healthtvchannel.org


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to