Page 1 of 1

I can see the source code of php on my browser?!

Posted: Thu Feb 27, 2003 8:47 am
by khamed
Hi everybody,

well, I'm trying to start a web-interface written with php. The web-interface is'nt working and I can see all the source code of php. I thought, nobody can see the source. Can someone help me or can someone give me a hint where to look for the source of the trouble... ;-)

Notice: I already started two tools working with php on the same web-serveur, Mantis and phpmyadmin. Both are working correctly.

Thank you in advance.
Karim

Posted: Thu Feb 27, 2003 8:49 am
by twigletmac
Maybe you are using short tags (<? ?>) and your server doesn't support them, if so try using long tags (<?php ?>).

Mac

Long tags.....

Posted: Thu Feb 27, 2003 8:54 am
by khamed
Hi,

Thank you. You were right ;-). I changed in on file the short tag in a long tag and it shows me more than usual.

Best regards.
Karim