Re: Test.php loads, but nothing in Browser

From: Date: Fri, 27 Jan 2006 17:58:05 +0000
Subject: Re: Test.php loads, but nothing in Browser
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-26655@lists.php.net to get a copy of this message
Thanks Massimo Your suggestion helped. It was the Short Tag setting was turned off. The only changed I made was to turn it on, and restart Apache. Voila and there is the PHP info page. I can't remember seeing the any info in the directions about setting this tag. It seems to be omitted since it is optional, but my guess is that most people write their scripts using short tags. So the default setting should be set to short. Any reason to keep it set to off?? Security Reason?? Howard "mailbox 19860221" <mailbox19860221@gmail.com> wrote in message news:284e30cc0601270621y69b779b9x@mail.gmail.com... "Howard" <howard1291@hotmail.com> wrote: > I wrote in Notepad the script <? phpinfo( ) ; ? >, > and saved the page as test.php Try <?php phpinfo(); ?> This should work correctly. You used the "short open tags" syntax, often disabled in your php.ini configuration; <?php script_goes_here ?> is the most correct, *common* and portable syntax. Best regards -- Massimo Lombardo

« previous php.windows (#26655) next »