Hello, a while ago i saw a script on pixeltlife that had the option to save files as other formats but if you opened it it would still see it as php!! but i cant find the sctipt anymore so i was wondering if anyone knows how this can be done.. probly something with headers.. but i cant find anything 🙁
t find the sctipt anymore so i was wondering if anyone knows how this can be done.. probly something with headers.. but i can
Thanx alot for the help.
Hello Mark,
I'm not sure if this is what you are looking for but I found this on Spoono, I will keep looking though to see if I cant help.
http://www.spoono.com/php/tutorials/tutorial.php?id=21
Thanks, Taylor Leach Hybrid Media
nope.. thats not where im looking for.. i`m looking for things like this:
s not where i
info.rar once you click on it it is a php program!!! and it wont download.. thats the thing that im looking for... i just cant find it 🙁
t download.. that
m looking for... i just can
BUMP
did anyone find a way to do this?
Maybe no-one's answering your question because no-one understands it?
oke.. simple explenation:
save .php files as .rar and if you go to www.theurl.com/thefile.rar it runs as PHP instead of giving a dl window with the .rar file.. 😃
If your server is Apache, see the AddType examples and explanation in the httpd.conf file and here.
Look into .htaccess files.
See also the installation sections of the manual (remember, the server had to be configured to treat .php files as PHP program; any other extension is no different).