NYCPHP Meetup

NYPHP.org

experimenting CLI

Tracy tech_learner at yahoo.com
Mon Mar 10 08:08:46 EST 2003


Hi,
i was trying out the examples for using php from the command line. i have register_globals off and register_argc_argv on. i tried
c:\\php4win\\cli>php -r '$wel = hello; print($wel);'
to get a blank line...
next i tried
c:\\php4win\\cli> php -r "$wel = hello; print($wel);" and the next line was
hello

but the manual says to use single quotes???  have i failed to understand something or is my way of trying out the example is wrong. i tried the examples given in the manual too but they didnt work either... 

i remember some posts that mentioned CLI. i didnt understand wot they were and got interested to find out. can someone plz tell me how to start?

thz
Tracy


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Coming together is a beginning... 
   keeping together is progress... 
      working together is success !!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


---------------------------------
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, and more
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030310/359e9097/attachment.html>


More information about the talk mailing list