keep SESSION using wget?
| From: | RalfGesellensetter | Date: | Thu, 08 Feb 2007 18:28:40 +0000 |
| Subject: | keep SESSION using wget? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-248600@lists.php.net to get a copy of this message | ||
Dear list,
I wrote a php script to keep track of a remote server. This script is
called every 10 minutes via http by a cronjob using wget. The cronjob
calls (from the remote server) open a new session each time.
This way I cannot use session variables to limit mail notifications to
cases where the IP of the remote server has changed.
Is there any way to
- either make wget to stay within its session
- or store the IP in a static variable that is persistent?
Thanks
Ralf