Re: strstr-pls help
| From: | Mekrand | Date: | Wed, 11 Dec 2002 18:25:56 +0000 |
| Subject: | Re: strstr-pls help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127865@lists.php.net to get a copy of this message | ||
thanks,
it was very silly mistake,
but it doesnt work,
there in nothing wrong with if statement,
moreover,
<?php
$ip=fopen("ip.txt", 'r+');
$k=filesize($ip);
$adam=fread($ip);
fclose($ip);
echo "$adam";
?>
i think there is something wrong with fread, is there another way to reading
a file, and return it as a string?
doesnt work too