php at home

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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

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

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

My server is Telenet in Belgium and he doesn't support php.
So, I like to try to run it at home.
Perhaps I have to install something more?

Thanks in advance for helping,
Gaston Verhulst.

Re: php at home

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

Quoted text here. Click to load it

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

Quoted text here. Click to load it

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

Quoted text here. Click to load it

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

Site Timeline