You are here: Re: Slackware PHP problem « PHP Programming Language « IT news, forums, messages
Re: Slackware PHP problem

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
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация