« Back to profile of CodeSolar

    						<?php
/**
 conplate Solar 2011 .
 Class MD5 CODE .
*/
 class solar_code {

  public $solar_code;
  public function solar_codefunction () {

    $solar_this -> solar_this = rand(11111111,99999999);

    $solar_this -> solar_this = md5($solar_this -> solar_this);

    $solar_this -> solar_this = substr($solar_this -> solar_this,0,10);

     return $solar_this -> solar_this;

  }

 }
/**
 SQL ON CLASS ...
$solar_code = new solar_code;
$solar_codefunction = $solar_code -> solar_codefunction ();
 echo $solar_codefunction;
*/

?>    			         

    1 comments

  • CodeSolar says :

    ملاحظة: اتمنى من الاخوة التطوير للعمل وجعله اكبر واكبر ،،

Add comment
To add a comment, please : Login or Sign up
    CodeSolar
    SolarAttack
  • New visitor?

    On setCode, you can save your codes, functions and classes, you can also share them with your friends, and track your favorite developer

    Join the SetCode community
  • Your language here :