How to uses timer in PHP?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
genhits
Forum Newbie
Posts: 2
Joined: Wed Jul 02, 2003 8:27 am

How to uses timer in PHP?

Post by genhits »

:x
I want to Uses timer look like Autosurf website (etc: http://www.autohits.dk) can i uses PHP if i can please tell me how to?
Thank you..
qartis
Forum Contributor
Posts: 271
Joined: Sat Dec 14, 2002 4:43 pm
Location: BC, Canada
Contact:

Post by qartis »

Do you want a page to automatically change after a short amout of time, in the user's browser? If so, that's javascript that does that.
Gappa
Forum Contributor
Posts: 119
Joined: Fri May 23, 2003 10:02 am

Post by Gappa »

yeah i was thinking java would be the way to go.. not sure what he/she is really after tho...
genhits
Forum Newbie
Posts: 2
Joined: Wed Jul 02, 2003 8:27 am

How To uses timer in Java script

Post by genhits »

[quote="qartis"]Do you want a page to automatically change after a short amout of time, in the user's browser? If so, that's javascript that does that.[/quote] :)

How to uses JAVA script please show example for me.
qartis
Forum Contributor
Posts: 271
Joined: Sat Dec 14, 2002 4:43 pm
Location: BC, Canada
Contact:

Post by qartis »

Code: Select all

<script>
setTimeout(wait,5000);


function wait()&#123;
alert("Okay, now replace this alert() line with your delayed code");
&#125;
</script>
Put that in an .html file, and test it out.
Post Reply