aniesh82 Posted February 5, 2008 Share Posted February 5, 2008 Hello, How can I find the size of a remote file using php ? Suppose the remote file path is http://remotesite.com/myaudio.mp3 Regards, PHP Developer Quote Link to comment https://forums.phpfreaks.com/topic/89550-solved-size-of-a-remote-file/ Share on other sites More sharing options...
revraz Posted February 5, 2008 Share Posted February 5, 2008 http://us.php.net/filesize Quote Link to comment https://forums.phpfreaks.com/topic/89550-solved-size-of-a-remote-file/#findComment-458712 Share on other sites More sharing options...
aniesh82 Posted February 5, 2008 Author Share Posted February 5, 2008 Hi, Thank your for your reply. We cannot use php filesize() to find the size of a remote file such as http:remote.com/remote.mp3. I have got a useful function from net and link is below: http://textsnippets.com/posts/show/1214 Than You.. Regards, PHP Developer India. Quote Link to comment https://forums.phpfreaks.com/topic/89550-solved-size-of-a-remote-file/#findComment-458730 Share on other sites More sharing options...
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.