Hello, I am setting up a website which downloads and stores music. I want on download link to check if user downloaded that music , that is I want to check if file downloading exists on his computer.

how can it be done?

Recommended Answers

It cannot be done with PHP as it runs on the server.

Jump to Post

All 3 Replies

It cannot be done with PHP as it runs on the server.

you can check if the downloading is happening. just apply a hidden <div> with some text message or color. and make it visible by jquery/javascript if FILE funtion is currently being executed.

What I do on download , I save it to my database. But its not helpful if user deletes from his own pc, or download isnt complete.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.