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: Colin Fine <news@kindness.demon.co.uk>
Date: Tue Oct 04 2005 - 00:23:09 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
>

I'm not sure what you are doing wrong, but since PHP is entirely
processed by the server, the browser never sees it.
Since what you say Opera shows you appears to be nothing whatever to do
with your script, I think your Opera must be looking at somewhere else
entirely. Do you have an odd proxy set up?

Colin
Received on Tue Oct 18 02:31:08 2005