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

Last character removed
I have created a string from an array. I have inserted commas from my form values. I am trying to re

Mail functionality from localhost to server
Hi

I am facing problem of mail functionality.

When i tested mail functionality in my

MASS PM
Hello all, I'm trying to send mass private messages to users in my database but keep getting an erro

IP question
ive got 2 ip addresses both global from same user how would i detect if they are local to each other

Displaying an image using echo command
I had done a query on my database, one of the fields being an image reference to a directory where a

GIS appliction help
I found some tutorials in the internet to develop a map application I don't want to use google maps

function not returning the correct value
I have a program that needs to return a value from a function. I have an output statement inside the

ALV List Display to point to another report on Double Click
Hi,

I want my ALV List Display to point to another report on Double Click on its line ite

Linkage between two scripts
Okay say I have this for a link in a script:

Code: <li><a href="#&q

The IE or FF detector
Hello Friends,

Problem of today ( we seek for php help ) as following ,

we know all th

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