ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-windows
php-windows
[PHP-WIN] Re: Test.php loads, but nothing in Browser
by Howard other posts by this author
Jan 27 2006 9:58AM messages near this date
[PHP-WIN] Re: Test.php loads, but nothing in Browser | [PHP-WIN] RE: Test.php loads, but nothing in Browser
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@[...].com>  wrote in message 
news:284e30cc0601270621y69b779b9x@[...]..
"Howard" <howard1291@[...].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 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thread:
Jim McDonald
Mailbox 19860221
Howard
Jim McDonald
Mailbox 19860221
Howard
M. Sokolewicz
Sean Rowe

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved