|
Posted by Dennis de Wit on 08/29/06 08:19
Hot cat wrote:
> i try running php under firefox but firefox won't recognise it
> it says "you are rying to run a php script what would you like php to do
> with this". No option for running php, yet when i got to any site with
> a htttP://.......php web page it's fine, no probs.
>
> Oh please help soemone !
I think you should run your PHP trough a server like Apache. I don't
think Firefox offers you an option to parse local PHP files into HTML.
The reason why php files on a remote server do work is that they produce
HTML output. The webserver tells PHP to "convert" the PHP code into
HTML, and then sends the output to the client's browser.
So, I think you should set up a webserver (on windows you can use IIS,
which comes with windows 2k/xp, Apache or even Xitami or some other
servers, on Linux you can use Apache and also some others)
Good luck...
.... Dennis
Navigation:
[Reply to this message]
|