|
Posted by Si.W on 01/15/07 21:20
"Si.W" <swswsw@ntlworld.com> wrote in message
news:DtRqh.83878$493.16927@newsfe4-gui.ntli.net...
>
> "Michael Austin" <maustin@firstdbasource.com> wrote in message
> news:CVCqh.1311$O02.671@newssvr11.news.prodigy.net...
>> Si.W wrote:
>>
>>> OK I've got Apache up and running also PHP and edited the httpd.conf and
>>> php.ini as recommended(by ricocheting.com).
>>> Problem is as soon as I have a single or double quote,all PHP after that
>>> just gets dumped to the browser even though I do of course close the
>>> quote.
>>> Anyone have any idea why?
>>> Thanks,Si.
>>
>> can you give us at least a "Hello World" example of the problem?
>>
>> create a file with just:
>>
>> <?php echo "Hello World<br>"; echo 'Hello World<br>'; ?>
>>
>> what is the result?
>>
>> If you view the source, you should get:
>>
>> Hello World<br>Hello World<br>
>>
>>
>> --
>> Michael Austin
>> Database Consultant
>> Domain Registration and Linux/Windows Web Hosting Reseller
>> http://www.spacelots.com
>
> Thanks Boss,
> Appreciate the 1st comment that I should go through the docs,but y'know
> it's a bit dispiriting.Tried the Hello World which showed that my first
> idea was wrong as the browser output was:
> "; echo 'Hello World
> '; ?> .
> Something's gone wrong,but I ain't sure what.Reinstalled once so I'll
> have to see what's what but any advice appreciated.
> Si.
>
OK seems to be a server config problem as I can see the php when I view
source.
Should be fun,my setup lines up with what the PHP docs tell me,so I'll have
to start looking at the Apache docs .. joy!
Thanks for help,Si.
Navigation:
[Reply to this message]
|