You are here: Re: starting php script « All PHP « IT news, forums, messages
Re: starting php script

Posted by Rik on 10/19/06 06:23

Steve wrote:
> "Rik" <luiheidsgoeroe@hotmail.com> wrote in message
> news:c2451$45369c71$8259c69c$31442@news1.tudelft.nl...
>> Peter van Kroonenburg wrote:
>>> When I want to run a php script from a html document I get the
>>> message; what do you want firefox to do, open it or save it?
>>>
>>> What is wrong? When I start the script directly it works correct.
>>
>> PHP runs on the server, so should be run through the server which
>> runs the php.
>> Local pages can work, as soon as your accessing them through the
>> server (e.g. http://localhost/example.php), not through the
>> filesystem (file://path/to/file.php).
>
> unless you execute it via the cgi executable. there are also a couple
> of other tools out there that help do the same thing...the cgi exe is
> probably best.

Yup, but very few directly accessed by the browser :-)

--
Grtz,

Rik Wasmus

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация