You are here: Re: php -r « PHP Programming Language « IT news, forums, messages
Re: php -r

Posted by The Natural Philosopher on 01/06/08 14:31

Daniel Klein wrote:
> Does anyone have a simple example of using 'php -r <code>' ?
>
> I had thought that this would work...
>
> C:\>php -r echo "test";
> PHP Parse error: syntax error, unexpected $end in Command line code
> on line 1
>
> But as you can see, it doesn't. I've tried Google'ing the answer to no
> avail.
>
> I'm using Windows/Apache/MySQL and:
>
> PHP 5.2.5 (cli) (built: Nov 8 2007 23:18:51)
> Copyright (c) 1997-2007 The PHP Group
> Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
>
>
> Daniel Klein
Not sure but shouldn't there be some <? ?> pairs in there somewhere?

 

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

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