[thelist] [php] running scripts via command line

DESCHAMPS Stéphane DvSI/SICoR stephane.deschamps at francetelecom.com
Mon Nov 25 04:58:01 CST 2002


> -----Message d'origine-----
> De : thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]De la part de Paul Bennett
>
> [...] Can I get php scripts
> running via the
> command line and outputting into the dos window?

Hi Paul,

I found here <http://benoit.noss.free.fr/php/install-php.html> that you can do this:
1. open dos window
2. type assoc .php=PHPScript <return>
3. type ftype PHPScript=c:\[path_to_PHP_dir]\php.exe %1 <return>

This does exactly what you want in the end with NT server at least.




More information about the thelist mailing list