What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP hide .php.

PHP hide .php.
Author: Message:
leito
Senior Member
****

Avatar
Chameleon by KeyStorm

Posts: 720
Reputation: 5
38 / Male / –
Joined: Apr 2003
O.P. PHP hide .php.
This question was for Keystorm, but I can't find him! I remember in KSMAS (now CBC) you could add could display the image as image.php or image.png. Well I want to do something similar but with xml. I'm generating a xml file type for a playlist with php, and with Firefox it works fine but it seems IE is not accepting that. Well if someone can help, thank you very much!

[Image: leonelgalan.png]
07-23-2005 06:10 AM
Profile E-Mail PM Find Quote Report
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: PHP hide .php.
make a htaccess file with the following in it
code:
AddType application/x-httpd-php .xml
07-23-2005 06:36 AM
Profile PM Find Quote Report
leito
Senior Member
****

Avatar
Chameleon by KeyStorm

Posts: 720
Reputation: 5
38 / Male / –
Joined: Apr 2003
O.P. RE: PHP hide .php.
that would allow any file to have a ".xml" extension?
[Image: leonelgalan.png]
07-23-2005 06:37 AM
Profile E-Mail PM Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: PHP hide .php.
quote:
Originally posted by leito
that would allow any file to have a ".xml" extension?
It would make any *.xml file be considered a PHP file. So if you had a file called blah.xml with PHP code inside, that PHP code would be parsed and executed just as if the file was called blah.php.
07-23-2005 06:43 AM
Profile PM Web Find Quote Report
leito
Senior Member
****

Avatar
Chameleon by KeyStorm

Posts: 720
Reputation: 5
38 / Male / –
Joined: Apr 2003
O.P. RE: PHP hide .php.
Thanks WDZ and LeeJeffery, by the way I was using musicplayer.sourceforge.net wich is a nice mp3 flash player, if someone  need one!
[Image: leonelgalan.png]
07-23-2005 06:46 AM
Profile E-Mail PM Find Quote Report
Supersonicdarky
Veteran Member
*****

Avatar

Posts: 2317
Reputation: 48
– / – / Flag
Joined: Feb 2005
Status: Away
RE: PHP hide .php.
i think this flash player is the best! :D
07-23-2005 12:27 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On