Re: php under firefox



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
.



Relevant Pages

  • Re: write with cURL
    ... execute permissions. ... This is assuming that the PHP script runs ... of potential security risks from other users on the same server. ... Apache as the global web server user and thus needs world write ...
    (alt.php)
  • Re: Apache vs IIS
    ... Windows Server not on my Linux Server so there for I would chose IIS. ... Not that Apache is bad but ASP.NET is far easier and faster to create good web forms in. ... PHP on a IIS server is rather easy to run once you install PHP on a PC but if you only use PHP why not use Apache for Windows. ...
    (alt.php)
  • Re: Apache vs IIS
    ... my Windows Server not on my Linux Server so there for I would ... IIS is designed for ASP, ... can run asp on Apache, ... in running php from IIS vs Apache. ...
    (alt.php)
  • RE: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)
  • Re: Virtual hosts and PHP "downloads": php5 and apache22 on FreeBSD6.1-STABLE
    ... Apache web server. ... Subject: Virtual hosts and PHP "downloads": php5 and apache22 on ...
    (freebsd-questions)