greytek Posted July 23, 2003 Posted July 23, 2003 I get the following message at the top of my page that is doing the domain search: Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/admin/domain-names-and-hosting.net/catalog/domain_search1.php on line 76 here is the code..... //>---------------------------------------------------------------------------< //> To use images other than gifs, you will need to modify the file extension < //> after the $showdig variable in the following loop. < //>---------------------------------------------------------------------------< for ($a=0;; $a++) { if ($a == $actdigits) { break; } else { $showdig = substr($newcount, $a, 1); $img[$digits - $actdigits + $a] = "$imagedirectory"; $img[$digits - $actdigits + $a] .= "$showdig.gif"; } } $displayblock = ""; for ($a=0; $a < $digits; $a++){ $displayblock .= "<td><img src=$img[$a]></td>"; } $opennewcount = @fopen($counterfile,"w"); @fwrite($opennewcount, $newcount); fclose ($opennewcount); ?> Can someone help? The fclose statement is the line in question. thanks Quote Greyson Schwing
greytek Posted July 23, 2003 Author Posted July 23, 2003 well duh....thats not my path. hmmmmm Quote Greyson Schwing
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.