Create PHP script
$10-100 USD
Paid on delivery
[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>
Project ID: #5206500
About the project
8 freelancers are bidding on average $64 for this job
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
Experienced php/mysql developer her can provide you exact what you need, can you please show me the site? Thanks
You could safe the image in a session. And after 60 seconds you could update the session.. For every 1minute i think you need a cronjob
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 feed More