On Wednesday 29 August 2007, Bogdan Cristea wrote:
> Sorry, I was not clear enough. The web page is opened locally.
>
> On Wednesday 29 August 2007 13:10, you wrote:
> > Bogdan Cristea wrote:
> > > I have a html page with a search box using a php script. However the
> > > search facility does not work, each time I press enter a new window
> > > appears asking to open or save the file *.php. Is there something else
> > > I need to install in order to have the php script working?
> >
> > PHP works server-side. So it has nothing to do with your browser.
> > Probably there is something wrong with the server configuration.
> >

Bogdan Cristea was right anyway... If it's opened locally you need a webserver 
(apache) running on your computer. The webserver only executes those scripts 
that are located in the directories that are configured for it. IIRC if you 
installed the server with Yast then by default you have a directory /srv and 
pages or scripts you place in (subdirectories in) there are executed.

Also, to make apache handle your scripts you must load the page correctly with 
http://localhost/your_dir_inside_srv/your_page.html
(and *not*:  file:///srv/your_dir/your_page.html)

hth

Daniel

-- 
Daniel Bauer photographer Basel Switzerland
professional photography: http://www.daniel-bauer.com
erotic art photos: http://www.bauer-nudes.com/en/linux.html
Madagascar special: http://www.fotograf-basel.ch/madagascar/
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to