Finding part of a string that a user has sent via POST
- by blerh
My users can send links from popular file hosts like Rapidshare, Megaupload, Hotfile and FileFactory. I need to somehow find out what filehost they sent the link from and use the correct class for it appropriately.
For example, if I sent a Rapidshare link in a form on my web page, I need to somehow cycle through each file host that I allow until I…