Jump to content

Image host and PHP


Welling

Recommended Posts

Currently I have a small image host on my web, and the images are showed by giving the real link to the images.

But now, I'm thinking about count the times the images are viewed and don't give the real link so I think put a .php receiving all requests and this file will show the images getting them with file_get_contents().

I doubt if this will generate a high CPU usage. What do you think?

 

Thanks.

Link to comment
Share on other sites

But you wouln't need to use file_get_contents(); unless you want to hide the image URL from the source code.

 

No, the images aren't for my site, it is a image host (like imageshack) people uploads the images to my web and I give them a link to use on other sites. This is why I think the load will be high

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.