|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
|
|||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
php called from cmd or browser? pros and cons?
hi all,
i've recently discovered how you can call a php script from the cmd line on a windows box and the system i'm building needs to do quite a bit of 'maintenance' stuff like watching a directory for activity, ftp-ing, archiving etc. i was wondering if anyone has any opinions on what would be better and why: running a 'perpetual' php script via the cmd line or opening a browser window and running the script through there? any input appreciated, vauneen -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
#2
|
|||
|
|||
|
php called from cmd or browser? pros and cons?
Good morning,
I use several php scripts run via console and these work like a charm! It's comparable to running vbs scripts but with a lot more available functions (like mailing, ftp-ing, ); i'd definitely recommend the usage! of my favorites: get the contents of a ftp directory, log the files to a database and copy them to another remote machine; afterwards send an email with a list of files to a defined user list - that would've been pretty complex in vbs! HTH, Sascha -- Lust, ein paar Euro nebenbei zu verdienen? Kosten, ohne Risiko! Satte Provisionen GMX Partner: -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
![]() |
| Viewing: Web Development Archives > Mailing Lists > PHP - Windows > php called from cmd or browser? pros and cons? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|