SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member scriptz's Avatar
    Join Date
    Jun 2004
    Location
    Canada
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    .zip file viewer for vbulletin question and help

    here is my qusetion im trying to work on a vbmod where a user can view the contents of a .zip file my question is this what is the query to get the info from only the zip extension mimetype what would the string line code be and also what would the attachmentid code look like ?

    here is some of my work:

    PHP Code:
    header('Content-Type: text/html; charset=windows-1256'); 
    $dir $DOCUMENT_ROOT.dirname($PHP_SELF); 
    $file ' WHAT DO I PUT HERE '
    $zip zip_open($dir.'/'.$file); 
    also what would i put here:
    PHP Code:
     $file ' WHAT DO I PUT HERE '

  2. #2
    SitePoint Guru
    Join Date
    Sep 2004
    Posts
    613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it seems common sense to me that you'd put the file name/path


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
  •