PHP Error

Discussion in 'PHP' started by esgllcinc, Nov 23, 2012.

  1. #1
    Issue resolved.
     
    Last edited: Nov 23, 2012
    esgllcinc, Nov 23, 2012 IP
  2. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    #2
    can you be bothered to tell us what you want the code to do and what it is actually doing?
     
    stephan2307, Nov 23, 2012 IP
  3. esgllcinc

    esgllcinc Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I just want it to get the exppoint, convert it to hex -> to ascii -> reverse the string
    write that string to file at the offset 0x10
     
    esgllcinc, Nov 23, 2012 IP
  4. stephan2307

    stephan2307 Well-Known Member

    Messages:
    1,277
    Likes Received:
    33
    Best Answers:
    7
    Trophy Points:
    150
    #4
    ok and what is the error that you are seeing / what is it actually doing / why is it wrong?
     
    stephan2307, Nov 23, 2012 IP
  5. esgllcinc

    esgllcinc Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I see the problem, I did not use str_pad() earlier.
     
    esgllcinc, Nov 23, 2012 IP