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?

Thanks,

No comments posted yet

Your Answer:

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

Shuffle between users ??
I have multiple $users in table. I need to send them $message.

I need to send the next messag

Kill a process
I have a question - how can I kill a process from a command line or by using Oracle SQL Developer? I

Need a fuction to count entries in a field
Hi
I need a fuction to count how many times a email address is entered in to a field.

I ma

weird problem
last time, i did post a topic concerning why my page sometime will load as blank page when using IE.

VAT
how should I deal with VAT?

if I have a product that costs £5.00 and VAT @ 17.5% (£0.87

try catch error
I have been trying try catch but, I can't get it to work. The code opens a non existing file called

Login page problems
I developed a website a few months ago and I am now having an issue with logging into it. The place

MySQL query problem
When I try to run the following piece of code, I get this error:
QuoteWarning: mysql_query(): sup

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

how to hide input fields on selection screen using variant attribute
Hello all,

I want to know how to hide input fields on selection screen using variant attr

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