Dear DP members, I have a website. I want to create a php page or maybe there is a wordpress plugins for this: It is something like file storage ... But instead of uploading files on my server I will use direct urls from dropbox, mediafire etc. So, what really I want to do? When visitor clicks this link it must redirect to a subdomain page on my hosting plan. I want to put ads on that page ;D. Well, if you want simpler explanation: It is something like URL forwarding service (URL redirection). This is some examples of that I really want to do: - dl.9minecraft.net/index.php?act=dl&id=1370704357 - this is that I really need to do but Instead of uploading files on my server I want to use direct urls from file hosting services. - seomafia.net/R5Hr - this is also good, but first is better. Thank you.
What you need, if I understand you correctly, is a way for a user, when clicking on a link, to be taken to an ad-page BEFORE that user is redirected to the file s/he wanted to get in the first place? If that's the case, you can do this in several different ways, but the simplest is probably to store some part of the URL (a GET bit) in a database, and pull that file when the user clicks the link on the first page. Something like this: // this is the first page //here you have links for the files <a href="link_to_ad_page.php?content=random_code_for_database">Click here for amazing cheats for Minecraft</a> PHP: And in the link_to_ad_page.php you'll check the random_code_for_database against the database, where you've stored the actual link to the file - and pull this into a redirect after X seconds. Might also consider having a countdown on the ad-page, with a message that the user will be redirected automatically (maybe also with a direct, clickable link) - there is nothing more annoying than having to wait for ads you have no interest in.