Re: strstr-pls help
| From: | Mako Shark | Date: | Wed, 11 Dec 2002 18:10:08 +0000 |
| Subject: | Re: strstr-pls help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-127860@lists.php.net to get a copy of this message | ||
Your problem is with this line:
$adam=fread($ip,filesize($adam));
Remember that $adam is not a file pointer, but text
read from a file. The file pointer is $ip, so the line
should read:
$adam=fread($ip,filesize($ip));
(and should probably be contained within an if
statement for error handling).
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com