Jump to content

Expert php developers please help


Rayhan420

Recommended Posts

Is there any way to show my user that they are downloading files from my site with php & mysql but they are not & the file would not be saved to my server & link will exist forever,like

 

http://othersite.com/download/6562/song.mp3
Would show :

 

http://mysite.com/download/65m2/song.mp3
Edited by requinix
putting urls in code tags
Link to comment
Share on other sites

You want to give them a URL to your site but have it download files from some other site? Would it be enough to support the URL on your site but do a redirect, which most people won't know or care about?

 

Help i am unable to post example links here

You can if you put them in [code] tags. I've already done it for you.
Link to comment
Share on other sites

If you need to process that file on your server then you'll need to get a copy of it to your server somehow. Even if that copy is just in memory, there's no way around retrieving the contents. As for disk space, if you download a copy to a file then there's no reason why you can't delete the file when you're done with it.

 

Try using cURL to see if it behaves differently.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.