Reply to Re: command-line php displays code instead of executing code

Your name:

Reply:


Posted by Jerry Stuckle on 01/28/07 18:58

comp.lang.php wrote:
> I am using CLI PHP to run a PHP script, c:\wamp\php\php.exe, but
> instead of executing my script, it's actually displaying the raw code
> instead.
>
> How can I run my code using CLI PHP? I installed WAMP5 on WinXP.
>
>
> Thanx
> Phil
>

php example.php

Your code must be surrounded with <?php and ?>, just like in a web page.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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