Reply to Re: php without a server

Your name:

Reply:


Posted by d on 01/12/06 12:26

"julian_m" <julianmaisano@gmail.com> wrote in message
news:1137055287.901806.281100@g49g2000cwa.googlegroups.com...
> I'm just need to excec a few php scripts that mainly do admin job over
> files, like create folders, rename files, backup them, ....
>
> Is there any way to run the scripts as if they were a sort of ".bat"
> files?
>
> regards - jm
>

If you're on windows, make a small batch file that takes a script as an
argument, and passes it to your PHP executable (also pointing out to it
where your php.ini is, if needed). Then, in Windows, associate an extension
(I do .xphp) with that batch file. Now, when you run a .xphp file (from the
gui or command line) it acts exactly like a batch file, but is executing
PHP. I use this all the time, and it works really well.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация