Click here to Skip to main content
       

Web Development

 
QuestionHow to Bind Data with Knockout PinmemberVuyiswa Maseko16-Jul-12 8:22 
QuestionREST and WCF PinmemberXarzu15-Jul-12 21:34 
QuestionSystem.Web.UI.WebControls.FileUpload Pinmembersheemap12-Jul-12 21:41 
AnswerRe: System.Web.UI.WebControls.FileUpload PinmvpRichard MacCutchan12-Jul-12 23:11 
AnswerRe: System.Web.UI.WebControls.FileUpload PinmvpSandeep Mewara13-Jul-12 0:12 
QuestionAutomatic Login to Another Domain PinmemberKyudos11-Jul-12 16:31 
QuestionGridView preselectfirstrow and move to the next after button click event Pinmemberbyka11-Jul-12 3:53 
Generalerror at download files in php [modified] PinmemberMember 915215611-Jul-12 3:43 
hi,
Iam using bellow function to download files but files are not extracting after download .
function zipFilesAndDownload($file_names,$archive_file_name,$file_path)
     {
           $zip = new ZipArchive();
           //create the file and throw the error if unsuccessful
           if ($zip->open($archive_file_name, ZIPARCHIVE::CREATE )!==TRUE) {
                 exit("cannot open <$archive_file_name>\n");
      }
           //add each files of $file_name array to archive
           foreach($file_names as $files)
           {
                 $zip->addFile($file_path.$files,$files);
              echo $file_path.$files,$files."<br>";
             
           }
           $zip->close();
           //then send the headers to foce download the zip file
     header("Content-type: application/zip");
        header("Content-Disposition: attachment; filename=$archive_file_name");
        header("Pragma: no-cache");
        header("Expires: 0");
        readfile("$archive_file_name");
     exit;
     }
any one can help to me..
Thank u

-- modified 16-Jul-12 9:37am.
QuestionCaching html pages - no thanks - but how? Pinmemberlvq68410-Jul-12 21:11 
AnswerRe: Caching html pages - no thanks - but how? PinmemberGerben Jongerius11-Jul-12 0:22 
GeneralRe: Caching html pages - no thanks - but how? Pinmemberlvq68411-Jul-12 0:28 
GeneralRe: Caching html pages - no thanks - but how? PinmemberGerben Jongerius11-Jul-12 0:35 
GeneralRe: Caching html pages - no thanks - but how? Pinmemberlvq68411-Jul-12 0:41 
GeneralRe: Caching html pages - no thanks - but how? Pinmemberlvq68411-Jul-12 3:05 
Questionjson Question PinmemberAptiva Dave10-Jul-12 9:33 
AnswerRe: json Question PinmvpChristian Graus17-Jul-12 18:40 
GeneralRe: json Question PinmemberAptiva Dave19-Jul-12 12:11 
QuestionOn GridView each row update Need to show update Record in other gridview PinmemberAsif201210-Jul-12 1:17 
AnswerRe: On GridView ... Repost PinmvpRichard MacCutchan10-Jul-12 2:01 
AnswerRe: On GridView ... Repost [OT] PinmvpSandeep Mewara10-Jul-12 2:52 
GeneralRe: On GridView ... Repost [OT] PinmvpRichard MacCutchan10-Jul-12 6:23 
Questionlooking for an automated form submission program PinmemberMongo39-Jul-12 10:23 
QuestionWizard1_FinishButtonClick disable previous button Pinmemberbyka9-Jul-12 4:45 
Questionhow to install ffmpeg on wampserver2.1 PinmemberMember 91521569-Jul-12 4:28 
QuestionHow to place links permanently in one place (HTML)? Pinmemberm_kukulka6-Jul-12 23:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.141223.1 | Last Updated 27 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid