simply put i want to know why the first echo is giving back \x02 and the second echo doesn’t give back something when it is exactly the same. why is the first echo not recognized as hex?
$test = "02";
echo "\x".$test;
echo "\x02";
hope someone can solve this. has been bothering me for a while
The answer is what was posted in my other post about this subject.
Link to question:create nameserver hex header
credits go to glglgl 🙂
sorry for the trouble