Posted by Jerry Stuckle on 12/11/06 02:37
Fragemann wrote:
> Hi all,
>
> I installed Apache, enabled PHP and made sure that MySQL
> starts when I boot up.
>
> Now I am seeing a bizarre problem. The following HTML
> produces the wrong response from PHP. How to fix?
>
> <html>
> <?
> print ('this is a test ') ;
> // abc 123
> ?>
>
> Result in Firefox:
>
> this is a test '); // abc123 ?>
>
> (The same happens if I use <?PHP and if I put
> the string in double quotes.)
>
> Thus I ask, is it normal for PHP to begin
> processing normally but when just ignore
> the second quote character, be it single or double?
>
> Thanks.
>
Do your files have the extension .php?
It Apache set up to parse .php files as php?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|