Page 1 of 1

Problem with an new PHP instalation (XP/IIS5.1)

Posted: Wed May 02, 2007 11:21 am
by pedrokas
Hi

I've installed a fresh version of php (5.2.1) in my toshiba notebook.
All of instalation are normal without any errors, and i create a simple php file with the obvious phpinfo() and the result was a blank page.
When i see the code beneath it was the same as the php file...

<?
phpinfo;
?>

What seem to be the problem? i've run out of solution :( :(

Posted: Wed May 02, 2007 11:41 am
by feyd
Short tags? phpinfo; not being a defined (as a constant?)

Posted: Thu May 03, 2007 3:52 am
by pedrokas
sorry misspelling :(
<? phpinfo(); ?>

the translated page is totaly blank, no error just blank.
everething i put between the tags <? ?> desapear!

Posted: Thu May 03, 2007 7:09 am
by feyd
Blank in the browser or blank in the page source in the browser?

Again, use normal tags, not short tags.
<? vs <?php

Posted: Thu May 03, 2007 7:51 am
by pedrokas
feyd wrote:
Again, use normal tags, not short tags.
<? vs <?php
feyd you are the master!!! using normal tags solved the problem!

thank you thank you thank you thank you thank you thank you thank you thank you thank you thank you ...