Jump to content

virtual host set up for thumbnails program try it! beta testing!


blogscrubber

Recommended Posts

I've recently been working on a website thumbnails program i'm developing for linux and have got the program to work without any errors as far as capturing the thumbnail and displaying it but i really need help with creating a queue program to log the http requests as they come in, have seen it done with ajax but i want to create a simpler version of a queue using php and a textfile, queue.txt, with read, write access that would display time left, order in queue, please help this website thumbnails program is going to be completely free of charge forever just need a queue to handle the load, the program only successfuly captures one thumbnail at a time but if thumbnail is cached it will display without error, even if 1000 people call the program! thanks for any advice and help.

 

heres a dumb little script i've been working on, trying to learn ajax for this though!

 

$fp = fopen("thumbnail/array.txt","a");

$address = $website_url;

fwrite($fp, $address."\n");

fclose($fp);

 

the above code will write the url to the array.txt file, but what i want is basically the time of request, order of request written as well and how long till the requests in queue are captured and cached!

Is this possible using a textfile as the array??? thanks again brandon.

 

I have set up a virtual host for beta testing, right now it only will capture 1 url at a time until the queue is in place!

 

http://24.16.171.223/thumb.php?url=http://www.msn.com

http://24.16.171.223/thumb.php?url=http://www.msn.com&x=300&y=300&full

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.