Re: [PHP4] $fp = fopen( "news.txt", 'a' ); // 'a' = append! Wah!

From: Date: Sun, 25 Mar 2001 22:04:01 +0000
Subject: Re: [PHP4] $fp = fopen( "news.txt", 'a' ); // 'a' = append! Wah!
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-45522@lists.php.net to get a copy of this message
maybe spinning the 'd' in $fd 180 degrees to make it a p will help... Sorry, haven't tried this myself, typo's happen. heh, I'm still trying to compile php 4 windows :-( been hoping for a helping hand. ""Dddogbruce (@home.com)"" <ddogbruce@home.com> wrote in message news:3ABE6080.31D7DE13@home.com... > $fp = fopen ($filename, "r"); > $newsSubmit = fread ($fd, filesize ($filename)); > > These are giving me a parse error: > Warning: Supplied argument is not a valid File-Handle resource in > C:/XITAMI/owen/website/php/newsSubmit.php on line 10 > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#45522) next »