My PHP File is showing raw code in the browser when accessed through a POST
request.
I\'ve created a phpinfo.php
page on the localhost and whe
Try changing < ?php
with <?php
and see if that works.
If that doesn't, make sure that Apache knows to interpret php files in the directory of your file as php scripts
user remove space from "< ?php".
other than this all is fine with coding i think.
Maybe it's a daft response, but have you tried changing < ?php
to <?php
? It could be that the parser isn't parsing it because it's not valid syntax ... just a wild guess!