RE: [PHP] remote call - no return
| From: | Jay Blanchard | Date: | Wed, 21 May 2003 20:16:23 +0000 |
| Subject: | RE: [PHP] remote call - no return | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-148441@lists.php.net to get a copy of this message | ||
try this....
function call_remote($remote_path)
{
if ($f = fopen($remote_path,'r'))
{
if(!feof($f))
{
$line = fgets($f,100);
$id = $line;
}
}
return $id;
fclose($f);
}