| 
 Posted by Chung Leong on 08/17/06 17:28 
sree wrote: 
> Hi, 
> 
> 
>     i want to check whether a file from remote server is existed or 
> not. 
> 
> The file_exists() checks for local server only. But i want a function 
> that checks the remote server. 
> 
> 
> If anyone knows please help.. 
> 
> thanks in advance... 
>  
> regards 
> sree 
 
This will do the trick: 
 
if(@fopen($url, "rb")) { 
}
 
[Back to original message] 
 |