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

puting for loop in 1 value
hi ,

how do i put this code in 1 value:
Code: <?php
for ($i=1; $i<=5; $i

script and html conflict in trying to create a header.
I have an error is occurring because of an html webpage with a "php require" at the top of

Error with login script
I am getting an error with my login script:

Error:
Code: Warning: Cannot modify header inf

help with php
It's not displaying or pulling anything out of the database.


Code: <html><

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

file_put_contents and createimagefromjpeg
All,
I do somethings and then I have the following code:
file_put_contents('./test/'.$filename

need help modifying script
Hi guys,

I'm fairly new to php and am having a bit of trouble modifying a script.

This

Posting to another Site?
I have software that people install.
When they install it, is there a way to make it post their d

import table with dependency
Hi

What is the best way to import table back which has dependency?

SQL> cre

Save cookie to DB
I'm working on a pixel tracking script for an incentive website and I need to use an ASP script to s

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