Quick Question / Request

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kr0me
Forum Newbie
Posts: 2
Joined: Wed Feb 28, 2007 5:09 pm

Quick Question / Request

Post by kr0me »

Hey guys,

I would like to know if this solution is possible using php:

Problem - Internet filters block out certain file types for example exe, zip, and rar.

Proposed solution - A proxy sort of script, which retrieves the file given from the internet (the server on which the script will be running has unrestricted access), saves it locally, then changes the file extension to something that can get past the filters, such as .jpg or even something non-existent like .lol and provides a link to it.

Is this possible using php? And if so how simple is it? Simple enough for one of you fine people to knock up a quick example for me? ;)


Thanks in advance for your help,
kr0me
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Is this post to the phpdeveloper.org people... or to a larger audience?
kr0me
Forum Newbie
Posts: 2
Joined: Wed Feb 28, 2007 5:09 pm

Post by kr0me »

Its directed at anyone who can help :p
Post Reply