By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,889 Members | 1,044 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,889 IT Pros & Developers. It's quick & easy.

need file download coding in php

nirmalsingh
100+
P: 218
hai all ,
when a user click a image, the image needed to be download for them. can anybody help me with sample code.
thanx in advance.
with regards Nirmal
Feb 9 '08 #1
Share this Question
Share on Google+
1 Reply


Markus
Expert 5K+
P: 6,050
hai all ,
when a user click a image, the image needed to be download for them. can anybody help me with sample code.
thanx in advance.
with regards Nirmal
You'd have to send them to a page, which uses content-disposition, and such, that forces a download.

Have a look at this
Feb 9 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.