Re: tutorial failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18 August 2010 10:44, e-letter <inpost@xxxxxxxxx> wrote:
> Readers,
>
> Copy below of message sent 15 August to php install digest list, but
> to date not including in mail archive?
>
> The tutorial example:
>
> <html>
>      <head>
>              <title>php test
>              </title
>      </head>
>      <body>
>              <?php
>                      echo '<p>Hi, I am a PHP script</p>';
>              ?>
>              <p>
>              this is a test
>              </p>
>      </body>
> </html>
>
> is saved to the normal user temporary folder as 'test.php' and then
> copied to the folder '/var/www/html/' using the root user account. The
> web browser is directed to url 'http://localhost.test.php, to show:
>
> Hi, I am a PHP script
>
> '; ?>
>
> this is a test
>
> What is the error please?

Looks like a problem with quotes, I'd say.

> Urpmi was used to install so the php version installed is not known.
> How to obtain this please

Check with php -i from the command line or a script containing
phpinfo(); requested through the browser.

Regards
Peter

-- 
<hype>
WWW: http://plphp.dk / http://plind.dk
LinkedIn: http://www.linkedin.com/in/plind
BeWelcome/Couchsurfing: Fake51
Twitter: http://twitter.com/kafe15
</hype>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux