how can i make php the default script? <? versus <?php
Posted by: michael (---.cust.wildblue.net)
Date: January 03, 2006 02:45AM

wamp5 doesn' t recognize <? as php by default... i've never had this issue before and i'm not sure what to feed to google...

can someone give me a hand out? much apreciate....

sincerely,

michael

Options: ReplyQuote
Re: how can i make php the default script?
Posted by: michael (---.cust.wildblue.net)
Date: January 03, 2006 04:17AM

using:

<meta http-equiv="Content-Script-Type" content="text/php">

doesn't seem to help...

shouldn't <? be equivalent to <?php in a .php file???

sincerely,

michael

Options: ReplyQuote
Re: how can i make php the default script?
Posted by: michael (---.cust.wildblue.net)
Date: January 03, 2006 04:24AM

found it in the obviouis place to look, php.ini

; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = On

that should probably definitely been on by default though huh?

Options: ReplyQuote


Sorry, only registered users may post in this forum.