PDA

View Full Version : my WAMP doesnot support short PHP delimiter



gurmeet
10-31-2009, 07:17 AM
i am using WAMP server, but when i use <? ?> tags only it doesnot interpret the PHP code and simply prints on browser screen, it works fine with <?php ?> tags


so what i need to do, i know it can be changed by modifying the .ini fine, is sm1 know how to change...

traq
11-01-2009, 06:22 AM
The simplest and best solution is to not use the short tags. Full tags are more portable and you never have to worry about whether or not they will work - they always work! :)

Most web hosts can (and will, if you ask nicely) change the short tag option, or will allow you to do so via php.ini:
short_opentag=On