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: R. Rajesh Jeba Anbiah <ng4rrjanbiah@rediffmail.com>
Date: Thu Oct 06 2005 - 19:29:03 CEST

alamsetti@gmail.com wrote:
> No there is no .php extension in the opera downloads tab.
>
> The strange thing is opera opens all commercial websites with .php
> extension and works fine.
>
> Should I include "content-type info in the begining of every php file ?

   Better, sniff the headers and find what Content-type is been
delivered. Possibly, the "default_mimetype" directive in php.ini might
be set to some other values; it should be "text/html"

--
  <?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/
Received on Tue Oct 18 02:32:50 2005