Re: Re: Continuance of the struggle (trying to understand)
| From: | Shreyas Agasthya | Date: | Tue, 05 Oct 2010 11:03:05 +0000 |
| Subject: | Re: Re: Continuance of the struggle (trying to understand) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308457@lists.php.net to get a copy of this message | ||
Col,
Can you let us know what exactly you see when you say
http://localhost:/phptest.php
?
Regards,
Shreyas
On Tue, Oct 5, 2010 at 4:20 PM, Col Day <colinday3@aol.com> wrote:
>
> ""Col Day"" <colinday3@aol.com> wrote in message
> news:23.81.45586.2820BAC4@pb1.pair.com...
>
> Hi all,
>>
>> After my escapades with the real basics and realizing my laptop wasn't
>> logged on as Administrator, I now am trying to work out why this script
>> works sometimes but not others.
>>
>> <html>
>> <head>
>> <title>PHP Test</title>
>> </head>
>> <body>
>> <p>This is an HTML line
>> <?php
>> echo "<p>This is a PHP line</p>";
>> phpinfo();
>> ?>
>> </body>
>> </html>
>>
>> If I save this as phptest.php and open IE pointing it to
>> localhost/phptest.php it works fine. Get both lines of text followed by the
>> pages of gumpf about php.
>>
>> However if I paste this into a
>>
>>
>>
> That was weird!
>
> I was saying, If I paste this into a webpage I only get the "HTML" line as
> before.
>
> Anyone have any ideas?
>
> PHP is obviously working as is apache. Just don't understand why they don't
> show up in web pages.
>
> Cheers again all!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Regards,
Shreyas Agasthya