Re: .php file extension in browsers
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: .php file extension in browsers

From: Carl <_Nospam_@_DO_NOT_.USE>
Date: Tue Oct 04 2005 - 18:54:08 CEST

alamsetti@gmail.com wrote:
> I have recently installed php, apache on windows xp.
>
> I have wrote a simple test file -- test.php
>
> <?php
>
> echo "hello world"
>
> ?>
>
> When I plugin the http://localhost/test.php in IE it works fine and
> when I plugin the same in OPERA it gives me a file download box.
>
> when I type http://localhost/test instead of http://localhost/test.php
> in IE the script still runs fine in the browser.
>
> What am I doing wrong here.
>
> Appreciate your help
>

In opera 8.5 on windows, select tools -> preferences -> advanced tab ->
downloads. Do you have anything in this list with an extension of 'php'?
If so, edit it and check the 'open with opera' option.
Received on Tue Oct 18 02:31:47 2005