> -----Original Message-----
> From: Col Day [mailto:colind...@aol.com]
> Sent: 05 October 2010 12:55
> To: php-general@lists.php.net
> Subject: Re: [PHP] Re: Continuance of the struggle (trying to
> understand)
> 
> Hi Shreyas,
> 
> Ok, as far as I can tell the script should show "This is an HTML
> line"
> reflecting that I am seeing the HTML part of the script followed by
> "This is
> a PHP line" to show that PHP is installed and working fine.
> 
> If I view the script directly in IE by going to
> http://localhost/phptest.php
> I get the output:
> 
> This is an HTML line
> 
> This is a PHP line
> 
> followed by a large and detailed list of the PHP install which
> includes
> things like compiler language etc.
> 
> If I paste the script into a web page then all that is displayed is

What on earth does this mean? http://localhost/phptest.php *is* a web page -- 
especially as you have structured it as PHP within HTML -- so why would you 
want to paste the code anywhere else?

I think your concepts are a little skew-whiff, and you need to explain what it 
is you think you're trying to do in more detail so that we can spot where it is 
that your understanding is wrong.

Cheers!

Mike
 -- 
Mike Ford,
Electronic Information Developer, Libraries and Learning Innovation,  
Leeds Metropolitan University, C507 City Campus, 
Woodhouse Lane, LEEDS,  LS1 3HE,  United Kingdom 
Email: m.f...@leedsmet.ac.uk 
Tel: +44 113 812 4730





To view the terms under which this email is distributed, please go to 
http://disclaimer.leedsmet.ac.uk/email.htm

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

Reply via email to