0

Dear All,

I'm searching a code which allow the user to download directly a file from the php web page. Has anyone knows how to do it? It seems to be a simple coding.

Regards
Dilbert137

4
Contributors
7
Replies
8
Views
7 Years
Discussion Span
Last Post by Dilbert137
0

Dear Sir,

I have tried your script but i'm getting errors.

[<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in

Regards
Dilbert137

0

That means the file does not exist. If you wish not to see the error an alternative would be curl.

0

Yes you are right i'm putting the domain name when i was doing test on my pc.

Thanks a lot
Dilbert137

0

Thanks very much. It was exactly what i was searching for.

Thanks again
Dilbert137

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.