Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can !
Moderator: General Moderators
pedrokas
Forum Commoner
Posts: 32 Joined: Thu Jan 15, 2004 10:53 am
Location: Lisboa, Portugal
Post
by pedrokas » Wed May 02, 2007 11:21 am
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
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Wed May 02, 2007 11:41 am
Short tags? phpinfo; not being a defined (as a constant?)
pedrokas
Forum Commoner
Posts: 32 Joined: Thu Jan 15, 2004 10:53 am
Location: Lisboa, Portugal
Post
by pedrokas » Thu May 03, 2007 3:52 am
sorry misspelling
<? phpinfo(); ?>
the translated page is totaly blank, no error just blank.
everething i put between the tags <? ?> desapear!
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Thu May 03, 2007 7:09 am
Blank in the browser or blank in the page source in the browser?
Again, use normal tags, not short tags.
<? vs <?php
pedrokas
Forum Commoner
Posts: 32 Joined: Thu Jan 15, 2004 10:53 am
Location: Lisboa, Portugal
Post
by pedrokas » Thu May 03, 2007 7:51 am
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 ...