Palm PDB Format

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

Palm PDB Format

Post by Todd_Z »

I am trying to create a pdb [palm database] file from a php script. I am trying to do this by reverse engineering the existing file to see what info goes where.

The following is the output from a script I wrote that will output the information about the database, and then each record [ID then data string]

What I need to do is decypher the data string... I think I need to unpack it somehow - but not sure how to go about doing that... any ideas?

Code: Select all

Name: 4.0Student Data
        TypeID: DATA
        CreatorID: 40St
        Attributes: 8
        Version: 510
        ModNumber: 227
        CreationTime: 1170571978
        ModificationTime: 1170579715
        BackupTime: 0
        Record Count: 28
        13254657                000003bb000500000100000100020003000400050000000000000000000000000000000000000000007777772e666f75726f73747564656e742e6e65742f66707a417070000000
        13254658                000001fe0000000040800000406ccccd4053333340400000402ccccd40133333400000003fd9999a3fa666663f8000003f3333330001010101010101010101010100000400000001ce5c0000000100000000ffffffffff000000ffff01000000010000000f00000000000000
        13254659                000003bb00010000000001003f4ccccdff00000000000000000000000000000000000000000042200000412000004120000042200000000000000000000000000000000000000000000042c8000042c2000042ba000042b4000042ae000042a6000042a00000429a000042920000428c000042860000427c000000010004000045636f6e000000000000302c302c302c302c302c302c30000000000000000000000000
        13254660                000003bb000100
        13254661                000003bb00014d69647465726d7300486f6d65776f726b0044697363757373696f6e0046696e616c00
        13254662                000003bb0001ce4f00014100000041200000ff00000000000000486f6d65776f726b0000
        13254663                000003bb00024080000001003f7666660b000c000000000000000000000000000000000000004234000041c80000417000004120000040a000004234000042340000423400004234000042c8000042b4000042ae000042a8000042a00000429a00004290000042860000427800004264000042500000423c000000050005000050687973696373005068797369637300313430005858580044656e6e69736f6e203333300000302c302c312c302c312c302c30000044617669642057696e6e00000000000000000000
        13254664                000003bb000200
        13254665                000003bb00024d69647465726d0046696e616c004d6173746572696e6720506879736963730044697363757373696f6e004c65637475726500
        13254666                000003bb0002ce41000142be000042c80000ff000000000000004d69647465726d20310000
        13254667                000003bb0002ce23020142c8000042c80000ff000000000000004d5020310000
        13254668                000003bb0002ce680000bf80000042c80000ff000000000000004d69647465726d20320000
        13254669                000003bb0002ce850000bf80000042c80000ff000000000000004d69647465726d20330000
        13254670                000003bb0002ce940100bf80000042c80000ff0000000000000046696e616c0000
        13254671                000003bb0003000000000100bf8000000d000e000000000000000000000000000000000000004170000041200000417000004170000041a0000041c8000041700000417000004170000042c8000042c2000042ba000042b4000042ae000042a6000042a00000429a000042920000428c000042860000427c000000000006000043616c63756c7573004d6174680032313500303534000000302c302c312c302c302c302c30000000000000000000000000
        13254672                000003bb000300
        13254673                000003bb000357656220486f6d65776f726b004d61706c65204c61627300526567756c617220486f6d65776f726b004d69647465726d2031004d69647465726d20320046696e616c00
        13254674                000003bb0004400000000100bf8000000e00110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042c8000042ba000042b4000042ae000042a6000042a00000429a000042920000428c000042860000427c0000427000000002000300004368656d204c6162004368656d0031323500313132000000302c312c302c302c302c302c30000000000000000000000000
        13254675                000003bb000400
        13254676                000003bb000447534920616e642050656572004c61626f7261746f7279004578616d7300
        13254677                000003bb0004ce31010140a0000040a00000ff000000000000004532205072656c61620000
        13254678                000003bb0004ce3800014108000041200000ff0000000000000045322044697363757373696f6e0000
        13254679                000003bb00053f80000000003f7a4fa50a000c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042c8000042b40000000000000000000042a000000000000000000000428c00000000000000000000427000000000000000030002000050687973696373204c616200506879736963730031343100000000302c302c302c312c302c302c30000000000000000000000000
        13254680                000003bb000500
        13254681                000003bb00054c616273005175697a7a657300
        13254682                000003bb0005ca7701014080000040800000ff000000000000005175697a20330000
        13254683                000003bb0005ce3100014230000042380000ff0000000000000050726f626162696c69747920616e6420537461747320310000
        13254684                000003bb0005ce3800014220000042200000ff0000000000000050726f626162696c69747920616e6420537461747320320000
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

(#10850)
Post Reply