php error showing php codes instead of executed code.

September 26, 2012 at 21:05:43
Specs: Windows 7
hi getting php source like ..
Id <? if($flag== "type="text" class="textbox"
instad of executed code.
what may be the reason?

See More: php error showing php codes instead of executed code.

Report •


#1
September 26, 2012 at 23:18:04
Sounds like your web server isn't configured to process php.

Report •

#2
October 2, 2012 at 16:20:37
The opening PHP tag is <?php not <?

Apologies if I don't respond to your reply immediately. I don't check this site daily, but you're welcome to PM me as a reminder.


Report •

#3
October 5, 2012 at 02:03:15
Not quite true. PHP does allows the <? tag (if so configured) although its use is deprecated. Of course this may be the problem - if you are using the short-tag form check php.ini to see that that option is enabled: http://www.php.net/manual/en/ini.co...

Report •

Related Solutions


Ask Question