cant get php to work
Posted by: tyler lee (---.dyn229.apogeenet.net)
Date: February 16, 2006 07:03AM

Hi ,
I just installed the server,
and cant get the php to work for some reason
when i load a page,
even with a simple hello world script
im just getting a blank page.
any ideas?
thanks

Options: ReplyQuote
Re: cant get php to work
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: February 16, 2006 07:24AM

make sure you are not using short asp style tags;

<?

?>


use php tags:

<?php

?>

Options: ReplyQuote
Re: cant get php to work
Posted by: tyler lee (---.dyn229.apogeenet.net)
Date: February 16, 2006 07:36AM

<? php print("Hello World"winking smiley ?>
i wasnt using them before,
but there i put them in there now and its still not working?

Options: ReplyQuote
Re: cant get php to work
Posted by: tyler lee (---.dyn229.apogeenet.net)
Date: February 16, 2006 07:38AM

alrighty then,
nevermind ,
thanks for the help cyberspatium, you were right and the 2nd time i tried it i had that extra space.
gracias mucho.

Options: ReplyQuote
Re: cant get php to work
Posted by: Alphadan (81.172.66.---)
Date: February 18, 2006 09:12PM

Why arent "<? ... ?>" tags working anymore?

Options: ReplyQuote
short tags
Posted by: war (---.man.east.verizon.net)
Date: February 19, 2006 04:50PM

i believe you can turn short tags on in the php.ini file

Options: ReplyQuote


Sorry, only registered users may post in this forum.