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

Posted by Rik on 10/18/06 21:29

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).

--
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

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