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

Query issues
I probably have this setup wrong well I know I do because nothing is showing up now. What I want is

Simple Question
I know this is a simple question, that if I knew what it was technically called i could probably loo

Storing the referrer in session... problems with tabs
Hello All

I am currently working on an ERP project based on the MVC methodology, when a user

Estimations and Effort
HI Gurus,

Would like to know whether SAP have a provision for carrying out the Project es

login from external site
Hi my new experience begins, Now what i am trying to do is i make three pages, login.php logout.php

URL Rewrite issue
Im created a series of Rewrites and on page checks to make sure the correct url is being called. But

please help
HTML Code:

Code: <span id="ctl00"><span>

Allowing ' and "
Hello everyone,

I am creating a form where users submit information to go into a database. I

On page view, minus credit
Hello all, please, I need a little help with this script. I am charging one credit (credits can be p

foreach loop, assistance request
I would like some guidance on the usage of foreach as I try to parse through a large database and wh

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