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

Executing an exe
Hi. I have some bizarre problem with exec (other any other method) to launch exe's. I am making a ga

WELCOME SCREEN
first of all let me tell you what does my script do,

it´s a very simple query to show a e

Print out contents of to Excel
I have got this script that gathers all the data that I need but I need it to send it to excel inste

Email logic not working
I would like to send an email using the php email() function then if it does execute i.e sends i wou

Looping Problem
I've got a client that has a database with about 200 events at any given time. I'm trying to loop t

Syntax error
hi im having a little trobble with this script
-------------------------------------------------

Request-URI Too Large
I have created a simple submit form for a mysql database that puts a piece of code into database.<

Count on multidimensional array
Hi, i got an array as below:

Array
(
=> Array
(

Why use OOP?
Can someone explain to me why I should use OOP instead of procedure based code.

Im building a

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

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