Re: tutorial failure

From: Date: Wed, 18 Aug 2010 09:16:52 +0000
Subject: Re: tutorial failure
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-307520@lists.php.net to get a copy of this message
On 18 August 2010 10:44, e-letter <inpost@gmail.com> 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>

« previous php.general (#307520) next »