Posted by Steve on 10/19/06 05:28
"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.
[Back to original message]
|