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:[EMAIL PROTECTED]]
Sendt: 26. mai 2001 11:18
Til: [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to