Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2006
    Location
    Hobart, Australia
    Posts
    593
    Tokens
    0

    Default Dynamic Commenting Question...

    Hi there,

    I want to create a system similar to vBulletin for dynamically commenting my PHP scripts. I want to be able to include a licence number, file revision number, file downloaded etc. However, I scanned a couple of online PHP ZIP streaming classes, and couldn't come up with anything. Does anyone know something that would get this sort of job done?

    Thanks

  2. #2
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    http://us2.php.net/ZIP

    Everything you need is there.

  3. #3
    Join Date
    Sep 2006
    Location
    Hobart, Australia
    Posts
    593
    Tokens
    0

    Default

    Thanks Tomm

    However, php_zip.dll is added in my php.ini file, yet the example scripts on the manual aren't working. Do I need to install the PECL extention too? The instructions weren't that clear...

  4. #4
    Join Date
    Jun 2005
    Posts
    4,795
    Tokens
    0

    Latest Awards:

    Default

    Check phpinfo to make sure its loaded. Are you using PHP4 or PHP5?

    Quote Originally Posted by Beau View Post
    Thanks Tomm

    However, php_zip.dll is added in my php.ini file, yet the example scripts on the manual aren't working. Do I need to install the PECL extention too? The instructions weren't that clear...

  5. #5
    Join Date
    Sep 2006
    Location
    Hobart, Australia
    Posts
    593
    Tokens
    0

    Default

    It's loaded, and I'm running PHP 5.1 (I need to update, I know ). As I said earlier, I just copied and pasted the sample script, however, it begins with this line:

    PHP Code:
    $zip = new ZipArchive(); 
    Is that going to work with an extention. I'm getting errors about there not being a class by the name of 'ZipArchive', which I can understand, considering I'm used to that syntax being used to instantite a class...

  6. #6
    Join Date
    Sep 2006
    Location
    Hobart, Australia
    Posts
    593
    Tokens
    0

    Default

    *Bump*

Posting Permissions

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