Reply to Re: php at home

Your name:

Reply:


Posted by Sean on 12/31/07 06:13

On Fri, 28 Dec 2007 17:15:58 +0000, Gaston Verhulst wrote:

> Hello,
>
> Running this command gives an output: [gastonv@telenetPC ~]$ php -r
> 'echo "Hello World\n";' Hello World

Your post is kind of off-topic. You may want to move this post over to
comp.lang.php

> I have made a html like this:
> [gastonv@telenetPC ~]$ cat helloworld.html <html>
> <head>
> <title>PHP Test</title>
> </head>
> <body>
> <?
> php -r 'echo "Hello World\n";'

You need to take out that "-r" you have in there.

> ?>
> </body>
> </html>
>
> When I rum it on my computer I only see a empty field.
> [gastonv@telenetPC ~]$ firefox helloworld.html

You're going to want to save this page as .php so your PHP processor
picks it up and executes it.

[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

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