You are here: PHP5 - CLI ("php -a") help plse? « PHP Programming Language « IT news, forums, messages
PHP5 - CLI ("php -a") help plse?

Posted by zeltus on 01/02/06 15:13

Hi

I've "upgraded" to PHP5 on my windoze box and whilst I'm stumbling up
the learning curve quite happily, I'm a bit stuck at how to use the
php.exe CLI binary.

I've tried using "php -a" and other than sucking in everything I type
until I get bored and Ctrl-C it, I can't get it to do anything useful.

What I hope it will do is accept input from me and return the results -
am I on the right track or have I missed the point somewhere?

I have searched the 'net and the docm. but can't find anything relevant
- so if someone can get me going I'd be very appreciative. Funnily
enough, I have no problems at all in embedding (OK, so it's only
simple) PHP in my HTML, running it all thru my Abyss local webserver
and seeing my pages. I just want to be able to do CLI PHP'ing to test
out snippets...

Any help gratefully received.

Cheers and Happy New Year

Bill

 

Navigation:

[Reply to this 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

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