PHP - Timer
#1

hi all, it's possible to put a timer in PHP code like this in SAMP :

SetTimerEx

and thanks everyone
Reply
#2

I don't know what exactly would you like to achieve, but equivalent would probably be a cronjob in this case.
Reply
#3

http://stackoverflow.com/questions/8...op-a-timer-php

****** it, there are plenty of results.
Reply
#4

@Sergei: for example whene someone deceived in his password you see an error message for a time (5 sec almost) and once this message hide

@Abagail: Thanks for your answer but not this exactly
Reply
#5

Oh, you would use ajax in that case probably. Search stackoverflow or any other of millions of forums that are dedicated to web development.
Reply
#6

@Sergei: ok thanks anyway
Reply
#7

Javascript is probably the more wide-spread way to achieve this.
Havent worked with ajax a lot, so I cant give you recommend which one is easier to use.
Reply
#8

Quote:
Originally Posted by Mauzen
Посмотреть сообщение
Javascript is probably the more wide-spread way to achieve this.
Havent worked with ajax a lot, so I cant give you recommend which one is easier to use.
I guess now the easiest way to use ajax is via jQuery.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)