Create PHP script

Completed Posted Dec 7, 2013 Paid on delivery
Completed 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>

PHP

Project ID: #5206500

About the project

8 proposals Remote project Active Dec 7, 2013

Awarded to:

occsceo

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, More

$30 USD in 1 day
(13 Reviews)
4.8

8 freelancers are bidding on average $64 for this job

signo

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

$60 USD in 1 day
(136 Reviews)
6.6
ryonkol

Experienced php/mysql developer her can provide you exact what you need, can you please show me the site? Thanks

$46 USD in 3 days
(68 Reviews)
5.7
safakerol

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

$93 USD in 0 days
(57 Reviews)
5.0
webworldsolz

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

$90 USD in 2 days
(34 Reviews)
5.4
slaith

A proposal has not yet been provided

$35 USD in 3 days
(0 Reviews)
0.0