[login to view URL] ( hidden ) is a website that update itself every few minutes with a new image link
I need a script that will save the file_get_contents result into variable $varxx but I need it to save it for 60 second. Every 60 second it will do the file_get_contents once again, there is over 10 000 visitor per hours on this script, and it is making my [login to view URL] website laggy, so i want the file_get_contents to happen only once per minute, and save the content for all visitor inside that 1 minute period, so even if the [login to view URL] website update 3 time in the 1 minute, it wont matter, all visitor will be served the same image for that 1 minute period.
Thank you
<?php
$varxx = file_get_contents('[login to view URL]'); ?>
<html>
<head>
</head>
Html code blabla
Most popular image of the last minute :
<img src="<?php echo $varxx ?>">
blablabla html blabla
</html>
hi random:
I can deliver today, do you have the ability to separate the current script into two files and run cron?
That is likely the be way to manage that process going forward.
15 yrs web exp here.
Thanks,
Matt
$30 USD in 1 Tag
5,0 (13 Bewertungen)
4,8
4,8
8 Freelancer bieten im Durchschnitt $64 USD für diesen Auftrag
Hello,
I will create a script that we will set by cron job to run each minute and update the image location. You will have it done in few hours after starting.
Thank you,
Viorel
Hi,
> I can start on this project immediately.
> I have 9+ years of experience and I can develop this script in PHP as per your requirements.
> Delivery ASAP and on time.
> Kindly check my 95+ Reviews and feedback of my clients on my High Quality work and time dedication on the projects.
http://www.freelancer.com/u/webworldsolz.html
I am looking forward for your reply and to work with you, thank you.
Best Regards,
Rocky.