Re: Sending automatically mail

From: Date: Fri, 09 Aug 2002 17:35:37 +0000
Subject: Re: Sending automatically mail
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-111864@lists.php.net to get a copy of this message
"Kondwani Spike Mkandawire" <kondwani@cs.mun.ca> wrote in message news:20020809174043.34809.qmail@pb1.pair.com... > > "César aracena" <icaam@icaam.com.ar> wrote in message > news:002101c23fcb$4e43c390$93c405c8@gateway... > > I had a question like this once, and the most applicable answer I got > > from this list was to make a script which triggers *IF* a certain time > > of day was reached. The only problem is that it had to be triggered by > > one visitor's clicking at least (the script was asleep in a page until > > that page was called). > > > > Now, it comes to my mind that you could have one hidden page which META > > refresh tags (refreshing itself let's say every hour), with a script > > inside that will trigger *IF* a certain hour (time) has passed. > > > > I hope this makes any sense, C. > > > > > -----Original Message----- > > > From: Jan Souman [mailto:j.l.souman@hetnet.nl] > > > Sent: Friday, August 09, 2002 2:03 PM > > > To: php-general@lists.php.net > > > Subject: [PHP] Sending automatically mail > > > > > > I would like my php-script to send a mail every day automatically, > > without > > > anyone opening my site. > > > > > > Is this possible and if yes can anyone tell how to do this? > > > > > > Kind regards, > > > > > > Jan > I think exec() with Cron would also do the trick... Obviously this is > under the assumption that you are under a UNIX-type platform... sorry I meant shell_exec()

« previous php.general (#111864) next »