No. PHP simply executes a script when it is called by something.
An option would be to an external 'something' automatically
call PHP periodically. At that point, the script that is invoked
could do periodic maintenance (check DB, warn you if
date in MYSQL is < 1 week, etc.)
We have a service called cronservice.com for people who don't
have access to cron on their servers, but chances are you have it
on your system (if it's unix-ish) or scheduled tasks (in Windows)
which will accomplish the same thing, for free.
GAYTAN BAHAMONDEZ DANIEL EDUARDO wrote:
> Hi there,
> I need to do some kind of alarm in php, I have a date(dd-mm-yyyy)
> in mysql and need that system warn me a week or so before that date, is
> there a function like that in php??
>
> Thanks in advance
> Daniel Gaytan B.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]