Warning: Fwrite(): Supplied Argument Is Not A Valid Stream Resource

RegisterLogin
Warning: Fwrite(): Supplied Argument Is Not A Valid Stream Resource
Post Description: warning: fwrite(): supplied argument is not a valid stream resource in index.php on line 29 please help me i am getting this error on the file i created following your tutorial for php i dont know what to do or what am i doing wrong to get this error
Tags: warning:, fwrite():, supplied, argument, is, not, a, valid, stream, resource
This Post Was Posted On Aug 05, 2010 By Gerry #3524
please help me i am getting this error on the file i created following your tutorial for php i dont know what to do or what am i doing wrong to get this error message, i cant figure it out and was wondering if you can help me resolve it, it says:

Warning: fwrite(): supplied argument is not a valid stream resource in index.php on line 29


this is how line 29 looks like:
if (fwrite('/* created '.time().' */ \n'.$handle, $new) === FALSE) {
echo "Err #30";
exit;

Leave Your Comments
Gerry
#4309 1
it worked this time
Aug 05, 2010 Reply Report abuse
webune
#4308 2
make line 29 look like this:

if (fwrite($handle, $new) === false) {

what happens?
Aug 05, 2010 Reply Report abuse
©2011 Webune Forums - Sun Dec 18, 2011 7:53 pm
Powered by: Webune Forums V3