SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru rashidr's Avatar
    Join Date
    Jun 2004
    Posts
    643
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question To perform "save target as" function on click

    I wanted to To perform "save target as" function on simple click.

    If we click on mp3 it will start playing the melody. We have to right click on the link and choose save target as to save the mp3 file on hard disk.

    I want to know how to perfom the save target as function without right click on simple click in php.

    Looking for positive anwswer

  2. #2
    SitePoint Enthusiast
    Join Date
    Feb 2003
    Location
    Leuven, Belgium
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    rashidr: what you're looking for is not simple if you aren't very experienced in coding. Concretely speaking, what you'll need to do is check out the PEAR package http_download, install it, make your click go to a page with the correct parameters that uses http_download to deliver the mp3 to the user.

  3. #3
    SitePoint Guru rashidr's Avatar
    Join Date
    Jun 2004
    Posts
    643
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Http_download in pear package ?

    What is pear package http_download where i will get this package i check www.php.net for the http_download but not found the same.

    Can you please guide me.


    Quote Originally Posted by minck
    rashidr: what you're looking for is not simple if you aren't very experienced in coding. Concretely speaking, what you'll need to do is check out the PEAR package http_download, install it, make your click go to a page with the correct parameters that uses http_download to deliver the mp3 to the user.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •