PHP - Opening/Reading files?

Discussion in 'Software' started by MrApples, Sep 16, 2007.

  1. MrApples

    MrApples Private E-2

    I found a site where, when you upload a file, it opens it and extracts an image and a description from it. How is that possible?
     
  2. Amjad

    Amjad Corporal

    Anymore details? What is the format of the file? (extension, type)
    Could you also provide the URL of the site?
     
  3. MrApples

    MrApples Private E-2

  4. JustAnotherDude

    JustAnotherDude Private E-2

    MPQ is a game-file. Details can be viewed at a number of sites, including http://en.wikipedia.org/wiki/MPQ

    Because the image(s) and description(s) are already in the file, it's easy enough to extract. It is same, albeit more complex, as opening a text file and "extracting" the text.
    For any given file type, if you know the file format details, you can write (or find) a program that will extract the data in the desired format.

    I'm not sure I answered your question, because as some StarTrek dude said, "It is difficult to answer, when one does not understand the question."
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds