Jump to content


Download Image Rather Than View It


3 replies to this topic

#1 Jonhc

    Young Padawan

  • Members
  • Pip
  • 206 posts
  • Gender:Male
  • Location:Durham (UK)
  • Interests:Web design, Web Standards, BMX, Hardcore

Posted 29 December 2007 - 08:21 PM

Ok so for the new site I'm developing I want the option to 'download image'

Basically the link 'Download Image' is there, the user clicks it and it opens a window asking them where to save it, or if they want to save it.

Rather than at current how it just simply opens the image in the web browser.

Thanks.

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 30 December 2007 - 01:11 AM

:yodasearch: & :google:
http://php.net/manua...tion.header.php

#3 Jonhc

    Young Padawan

  • Members
  • Pip
  • 206 posts
  • Gender:Male
  • Location:Durham (UK)
  • Interests:Web design, Web Standards, BMX, Hardcore

Posted 30 December 2007 - 03:27 PM

Ahhhh never thought of doing it with PHP haha.

I did search Google :google:

Thanks a lot :yodasearch:

#4 Av-

    I Feel Left Out

  • Members
  • PipPipPipPip
  • 1,971 posts
  • Gender:Male
  • Location:10 ft. below sea level

Posted 31 December 2007 - 08:01 AM

Google for "php force download". Should come up with plenty of results.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users