|  | Posted by comp.lang.php on 01/28/07 19:04 
On Jan 28, 1:58 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:> 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.
 
 install.php is indeed surrounded with PHP tags, just like in a web
 page.  As I can see when I do "php -q install.php" and see the source
 code instead of the executions.
 
 Phil
 
 >
 > --
 > ==================
 > Remove the "x" from my email address
 > Jerry Stuckle
 > JDS Computer Training Corp.
 > jstuck...@attglobal.net
 > ==================
 [Back to original message] |