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

More pug propaganda.
http://www.youtube.com/watch?v=8Kkrmubsgf8

The commercial is definitely worth watching pug aw

How to get variable value on next page
Hello friends
i am working on payentry page ..there i have this code.........

Sending CC Info by email
I am a little bit less knowledgable in the security area as most developers and I know I have a lot

How do i do multi uploads?.
Hey i would like to do this : http://hosting.mrkrabz.net/

I've got the base down you can uplo

EU VAT Package 2010
Does any one know whether SAP will be developing new reporting functionality due the new VAT rules t

MS Exchange 2007 integration with ECC 6.0
Hello Experts,
We have ECC 6.0 and MS Exchange 2007. We need to integrate ECC 6 and MS Excha

Displaying Column Names
I have a question regarding the ability to show the column names from my table/query.
What I'm lo

Header is not working in IE
Hi ! header function is not working in IE but it works in FF, Safari, Chrome. any help please. :

gettext translates ALWAYS?
I'm using gettext with the new version of XAMPP (5.3.0) on Windows Seven RTM (build 7600)
gettext

Problem with shopcart code
Hello, I am having a bit of trouble being able to add a product to my shopcart. My mysql database i

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