Delete HTML file after loading


Posted on 16th Feb 2014 07:03 pm by admin

I have limited experience with php and its been a year or two since I've last used it. I have a small web application where I want to make sure the data presented on a page (currently an HTML file) is no older than 60 seconds. The page automatically refreshes every 15 seconds. I was think about renaming the file by placing the php rename() function at the end of the file. Will this work or will the script be executed before the page is viewed? Any other suggestions?

Did you know?Explore Trending and Topic pages for more stories like this.
Thanks,
No comments posted yet

Your Answer:

Login to answer
105 Like 23 Dislike
Previous forums Next forums
Other forums

LOOPing Problem
Hello All!

The following code loops through the data and displays the data accordingly. My p

that old Malformed Headers problem again!!!!! HELP!!!!!!
I've read the http://www.phpfreaks.com/forums/index.php/topic,37442.0.html

I don't think my c

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

weeks in a year
hi,

i found this snippet on php.net
QuoteFor the week number for weeks starting on Sunday:

Problems with strings containing
Hey all,

I have encountered something strange in a script. I am trying to write an XML heade

echo $rows help
Hi all,

Hopefully something simple that I don't know!

I have this:

Code: [Selec

Guixt issue
Hello all,

We are experiencing the following problem with Guixt:

Some transact

Socket Server
In my following socket server, I am trying to listen to a connection through port 12345 in my web br

User information
Hi All,
By using t-code SUIM we get all the user details,if suppose we donot have permission t

value not going in data base
hello friends....
i am having a working javascript....when i am selecting any

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash