[PHP-DB] Re: [mysql-support] RE: [PHP-DB] Run php page automatically

2001-12-27 Thread Jeremy Reed
You can set up the task manager to run a php script from the command line: php -q script.php > log.txt The '-q' switch suppresses the HTTP header output, so if you scheduled the script to run with the output redirected to a file, then all echoes etc. in the script would be redirected to the log

RE: [PHP-DB] Re: [mysql-support] RE: [PHP-DB] Run php page automatically

2001-12-20 Thread Marco Eyzaguirre
task manager -Mensaje original- De: George Loch [mailto:[EMAIL PROTECTED]] Enviado el: Jueves, 20 de Diciembre de 2001 05:56 PM Para: [EMAIL PROTECTED]; [EMAIL PROTECTED] Asunto: [PHP-DB] Re: [mysql-support] RE: [PHP-DB] Run php page automatically What if you are on win2K

[PHP-DB] Re: [mysql-support] RE: [PHP-DB] Run php page automatically

2001-12-20 Thread George Loch
What if you are on win2K? - Original Message - From: "Jonathan Hilgeman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, December 20, 2001 12:22 PM Subject: [mysql-support] RE: [PHP-DB] Run php page automatically > I usually just cre

[PHP-DB] RE: [mysql-support] RE: [PHP-DB] Run php page automatically

2001-12-20 Thread Jonathan Hilgeman
In my opinion, PHP works fine with small scripts like this. True, it could be more efficient with Perl, but when you don't know Perl, or don't have DB perl modules installed, PHP scriptlets are a nice way to take care of small tasks. And PHP can just as easily run a system command and append text

[PHP-DB] RE: [mysql-support] RE: [PHP-DB] Run php page automatically

2001-12-20 Thread NiteHaqr
I would probably recommend AGAINST running this php script from cron. I have a similar script but I use a PERL version for auto-updates. PHP should only (IMHO) be used where someone will see some output on a webpage. Other advantage of using PERL is that you could easily create a log file by re