Closed Thread
Results 1 to 8 of 8

Thread: PHP Hex editor?

  1. #1
    Senior Member jetalomar is an unknown quantity at this point
    Join Date
    Apr 2001
    Posts
    244

    PHP Hex editor?

    is there a way I can make a page to edit a file which I can read with a hex editor?

  2. #2
    NLC CareBear is a jewel in the roughCareBear is a jewel in the rough CareBear's Avatar
    Join Date
    Dec 2002
    Posts
    1,684
    do you want a hex editor to edit a php file with or how to code a hex editor in php?

  3. #3
    Senior Member jetalomar is an unknown quantity at this point
    Join Date
    Apr 2001
    Posts
    244
    how to code a hex editor in php?

  4. #4
    Pro Member hohoho is an unknown quantity at this point hohoho's Avatar
    Join Date
    Apr 2002
    Location
    localhost
    Posts
    456
    read the conntents in an variable or array and then use
    bin2hex or dechex
    There are 3 kinds of people: the ones who can count and the others who cannot

  5. #5
    Senior Member jetalomar is an unknown quantity at this point
    Join Date
    Apr 2001
    Posts
    244
    okay, if I have the file in the same directory as the script.

    the filename is zplayers.att

    how do I call it and then to read it

  6. #6
    Pro Member hohoho is an unknown quantity at this point hohoho's Avatar
    Join Date
    Apr 2002
    Location
    localhost
    Posts
    456
    $fp = fopen("zplayers.att","rb");
    then you use fread to read some bytes out of the file and use
    bin2hex
    There are 3 kinds of people: the ones who can count and the others who cannot

  7. #7
    Senior Member jetalomar is an unknown quantity at this point
    Join Date
    Apr 2001
    Posts
    244
    Now that I call the file, how do I read it.

  8. #8
    Senior Member jetalomar is an unknown quantity at this point
    Join Date
    Apr 2001
    Posts
    244
    can anyone help me?

Closed Thread

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