Hy, I'm new on PHP world. I want to know which should be the php code for a download page? I want my web-site users download a file from my server, using a page from my site. What I have to do for this? Eg.: you can open, for example, www.gograph.com and if you want to download an image from there, you just click on the DOWNLOAD tab, a window appears and ask you where you want to download the file on your local HDD. Ok, this kind of tab (Download) I want to add in my web page and, when a user click on this tab, that file should be downloaded on user's hdd. Can anyone help me? Thanks, Monica

Be a part of the DaniWeb community

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