how to download a file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
suhail_anwar_khan
Forum Newbie
Posts: 11
Joined: Mon Jan 15, 2007 4:22 pm

how to download a file

Post by suhail_anwar_khan »

hi,
i am new to php. please help me i have tried to find a solution but was unable to do that.

i wanted my site user, to download the file from my site on to his computer using php script. please give me a link to the sample code or tutorial for this.
thx
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

search for "php file download tutorial"
User avatar
Ollie Saunders
DevNet Master
Posts: 3179
Joined: Tue May 24, 2005 6:01 pm
Location: UK

Post by Ollie Saunders »

Why do you need PHP to download a file?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Kieran Huggins wrote:search for "php file download tutorial"
I believe the correct term is "php forced download"
Post Reply