Posted By

mcs88 on 02/05/13


Tagged

php dell ExpressServiceTag


Versions (?)

PHP Base36


 / Published in: PHP
 

PHPs build in Base36 convertion

  1. $serviceTag = $_POST['dsTag'];
  2. $est = ServiceTag::getServiceTag($serviceTag);
  3. echo $est;
  4.  
  5. class ServiceTag {
  6.  
  7. public static function getServiceTag($serviceTag) {
  8. return base_convert($serviceTag, 36, 10);
  9. }
  10.  
  11. }

Report this snippet  

You need to login to post a comment.