SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Q: Reading Jar Files with PHP

    Hey there,

    I have access to information that only comes in .Jar files. Is there a way to read/open/access Jar files using PHP? They will probably contain images as well as text.

    Any help, as usual, is gratefully appreciated.

  2. #2
    SitePoint Member
    Join Date
    Apr 2006
    Posts
    21
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    the fopen functions should do everything you need to do.

  3. #3
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,498
    Mentioned
    164 Post(s)
    Tagged
    1 Thread(s)

    PHP and jar files

    Hi benjibones, welcome to the forums,
    You may have to use the PECL Java extension http://us3.php.net/manual/en/ref.java.php

  4. #4
    SitePoint Zealot erikwebb's Avatar
    Join Date
    Dec 2003
    Location
    Atlanta, GA
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you have access, I always find it easiest/most flexible to use exec() and system() to just perform command-line actions.


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
  •