Results 1 to 10 of 16
Threaded View
-
3rd Mar 2012, 09:25 PM #2Respected Member
Ok here you go.
PHP Code:<?php
$all = 'RM50';
// single
$r = 'R';
$m = 'M';
$a = '5';
$b = '0';
$s=strtoHex($all);var_dump($s);
// single
$s=strtoHex($r);var_dump($s);
$s=strtoHex($m);var_dump($s);
$s=strtoHex($a);var_dump($s);
$s=strtoHex($b);var_dump($s);
exit();
exit();
function strToHex($string)
{
$hex='';
for ($i=0; $i < strlen($string); $i++)
{
$hex .= dechex(ord($string[$i]));
}
return $hex;
}
?>
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to Encode Like this..??
By downloadsmasti in forum Tutorials and GuidesReplies: 21Last Post: 10th Nov 2012, 10:20 PM -
Encode to html
By skinner in forum Web Development AreaReplies: 4Last Post: 21st Feb 2012, 02:28 PM -
Need RDP to encode
By TheLorenalex in forum Hosting DiscussionReplies: 9Last Post: 25th Nov 2011, 06:08 PM -
how to encode a movie
By chaudhary9 in forum General DiscussionReplies: 2Last Post: 24th Sep 2011, 11:27 PM -
Need VPS for encode
By chipve in forum Hosting DiscussionReplies: 4Last Post: 2nd Feb 2011, 03:26 PM
themaManager - edit and manage...
Version 4.20 released. Open older version (or...