Anatoly7
09-02-2002, 07:37 AM
Hi guys!
I'm trying to get started with php and when I try to run different "Hello World" stories I just see my code in the browser.
So, my browser displays my php code instead of displaying what I mean it to display with that code. For example if I have the code- <?php echo $_SERVER["HTTP_USER_AGENT"]; ?>-
in my .php file, then it is exactly what my browser displays.
I use RedHat Linux 7.3 and I chose to install both Apache and PHP during the installation of the whole system.
Anybody can help?
Regards,
Anatoly
I'm trying to get started with php and when I try to run different "Hello World" stories I just see my code in the browser.
So, my browser displays my php code instead of displaying what I mean it to display with that code. For example if I have the code- <?php echo $_SERVER["HTTP_USER_AGENT"]; ?>-
in my .php file, then it is exactly what my browser displays.
I use RedHat Linux 7.3 and I chose to install both Apache and PHP during the installation of the whole system.
Anybody can help?
Regards,
Anatoly