FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP server tag help
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP server tag help [message #172238 is a reply to message #172235] Mon, 07 February 2011 14:36 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 2/7/2011 9:08 AM, Chee wrote:
> Hi everyone.
>
> I havent dont PHP much and my friend ask me to setup some PHP website
> locally using wamp server.
>
>
> I am really bad at this so hope someone can help me out.
>
>
> the website i got have tags like<? echo 'test' ?> however it seems
> like my version of PHP 5.3.3 is not working well with this syntax. Is
> there a way to config wamp server to accept this?!
>
>
> I do not want to modify so many pages just to fix this.
>
>
> Thanks guys!
>
>
>

You need to set short_open_tags on.

But you really do not want to do this. It will conflict with xml, and
the PHP developers strongly recommend against using it. You're almost
assuredly going to have to change this sooner or later; now is the time
to do it instead of when the site breaks.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: String Replacement
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 08:49:39 GMT 2024

Total time taken to generate the page: 0.04545 seconds