SV: [PHP-WIN] Re: Make file.php look like file.htm ???
| From: | Svein Bennæs | Date: | Thu, 26 Jul 2001 09:46:55 +0000 |
| Subject: | SV: [PHP-WIN] Re: Make file.php look like file.htm ??? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8515@lists.php.net to get a copy of this message | ||
Add your preferred file extension in in httpd.conf as shown below (assuming
you're using Apache), and all .htm-files will be parsed through PHP.
AddType application/x-httpd-php .php .phtml .htm
SoB
-----Opprinnelig melding-----
Fra: G Schneider [mailto:jefferrs@blueyonder.co.uk]
Sendt: 26. mai 2001 11:18
Til: php-windows@lists.php.net
Emne: [PHP-WIN] Re: Make file.php look like file.htm ???
You could put the php file inside a frameset.
Other than that, I'm stumped.
But allowing the user to see the .php extension might be quite good
advertising, really. There are loads of sites that have no shame in making
every page end with .asp - so we might as well fight back with the .php
extension!:-)
Good luck,
Jefferrs
++++++++++++++++++++++++++++++++++++++++
http://www.webmastersdog.com
where website owners go. and talk about stuff.
++++++++++++++++++++++++++++++++++++++++
"Rick S" <noSpam@noSpam.php.net> wrote in message
news:20010726052722.59173.qmail@pb1.pair.com...
> Hello,
> Anyone know how to make the URL look like a basic HTML link? I would like
> PHP to be transparent to the user and not displaying the .php extention in
> the browser's address window. Is there a way to do this?
>
> Thanks,
> Rick S.
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net