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

Socket Server
In my following socket server, I am trying to listen to a connection through port 12345 in my web br

Java API in PHP?
I have an application that we use internally here at the office.

The software company provide

Cloud Computing?
Hello,

I was wondering if anyone could help explain this term to me. I'm starting to hear it

Share admin accross websites
I'm using .net memberships and roles in one of my sites, but I need to be able to share logins and p

Checking if multidimensional array is empty?
I have a for with multiple test input fields. Specifically the user submits multiple names and ages

Gerenate tabel in Php
I whant to generate a tabel takeing data from database like this one so the results to be display on

background color imagefill
Hello

I would like to ask you why I see this square in red color just in my local xampp insta

MySql timezone
Code: $sql = "SELECT *, date_format(date, '%m/%d/%Y at %I:%i %p' )as date FROM comments WHERE t

Socket programming
Hello all,

I have a PHP socket script. GPS trackers connect to this socket. IMEI verification

setcookie and isset($_COOKIE(name)) seem very finnicky.
I'm currently playing around with a user system with login and registration. I'm trying to use cooki

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