LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] PHP4.. save as dialog in Netscape

[ILUG] PHP4.. save as dialog in Netscape

Vincent Cunniffe vcunniff at dogma.slashnull.org
Wed Apr 12 11:21:47 IST 2000


Donncha O Caoimh wrote:
> 
> Just put PHP4 RC1 on a server here and it works well enough, but
> everytime I go to a directory url (say http://test/ instead of
> http://test/index.php) Netscape brings up a file requester to save the
> html.
> Looking at the saved file I see that the file hasn't been processed
> (still contains PHP code).
> There's only an index.php file in the directory I'm looking at ..
> 
> Anyone had this problem?

Unless you add something along the lines of :

	AddType application/x-httpd-php4 .php4

into your Apache config, the server will just interpret the file as
something to be served as normal, your web-browser will realise that
it's not a normal HTML file, and will ask you where you want to save.

Make sure the php module is loaded and tell Apache about what a php
file looks like, and you should be fine.

Vin




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell