• Support
  • Articles
  • Resources
  • Products
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead

Hex rx to string

Moderator: boris

2 postsPage 1 of 1

rdm
Newbie

Posts:
11
Joined: Fri Jul 29, 2011 4:44 pm
by rdm » Tue Nov 29, 2016 11:59 pm
I set debug mode to 2 (hex) and receive a reply such as this:
82 00 00 00 2E 00 04 00 0A 00 00 00 05 30 31 32 33 34 35 36 37 38 39

I do it this way because I have a mix of printable and non-printables.
Is there a command that can convert the printable chars starting at 30 31 32 33... , to a printable string, perhaps to a logfile? Or must I create a subroutine?
Trevor
Guru

Posts:
485
Joined: Wed Jul 26, 2006 8:47 am
by Trevor » Wed Nov 30, 2016 10:34 am
Display posts from previous:
Sort by:

2 postsPage 1 of 1

Users browsing this forum: No registered users