Jump to content
MakeWebGames

File size of Remote image?


UCC

Recommended Posts

My guess is that this is impossible. However, I thought I would ask.

Let's say I wanted to have users host a particular image on an External site like imageshack. However, I still want to enforce file size limits so they can't link to 2MB files that other users would be forced to download.

Is there anyway at all that PHP can check the file size of a remote file link?

I found getimagesize but it does not show the file size just the dimensions

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...