Firefox won't read .php files
If I download some .php files I've been working on and try to open them ( so I can see how well my work on them has been going) gnome brings up a propt asking me what Firefox should do, If I want to open using Firefox, or to save it to disk. If accept "open with firefox" then it prompts again, and again until I just hit cancel.
I know I can use gedit or somthing like that but I want to give NVU a try and since it's mozilla based, when I try to open an .php file it does the same prompt loop. any help apprisiated! Lagg |
PHP files aren't meant to be directly opened by a browser. PHP is a scripting language that get processed by the web server. Say you create a php on the web server that has the following line:
<?php echo '<p>Hello World</p>'; ?> Once its processed on the server side, the following is sent to the browser: <p>Hello World</p> If you wrote a page in straight php, the browser doesn't know what to do with it. It can only display HTML. |
All times are GMT -5. The time now is 01:03 AM. |