php not working Fedora 2 (blank screen)
I trying to learn how to use php. I am trying to display the simple command
<? php_info(); ?> I saved it as info.php in /var/www/html/ When I open it in Mozilla all I get is a blank screen. I look at the source and all I have is <HTML><BODY><</BODY></HTML> I have tried to write other file and Mozilla asks if I want to save the file. In that code I was trying to open and change a text file. Anyone have any ideas? |
It should all be one word:
<? phpinfo(); ?> |
That worked.
I think that the book I am reading is the problem and not the computer. I will try an new book. Thanks for your help. |
All times are GMT -5. The time now is 03:32 AM. |