PHP string to hex and hex to string functions
the problem is when –> $string[$i]==00; // $string[$i] is a byte –> 00 to FF –>(code ASCII 00-255) $hex=dechex(ord($string[$i])); $hex ==0; //and the same when the byte is for example–> $string[$i]==04 //because dechex(ord(04))==4 //THIS IS THE PROBLEM...