experimenting CLI

Tracy tech_learner at
Mon Mar 10 08:08:46 EST 2003

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

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?


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: <>

More information about the talk mailing list