| 
	
 | 
 Posted by lorento on 05/31/06 08:35 
Nospam wrote: 
> Is there a tutorial on dynamic SID generation? 
 
What do you mean with SID? Is it session ID? 
 
You can try this code if you want to generate dynamic session ID: 
 
<?php 
 
 	$randomNumber = rand(10000, 20000) . microtime(); 
 	$randomValue = md5($randomNumber); 
 	$randomValue = substr($randomValue, 16); 
 
 	$SID = md5($randomValue); 
 
 ?> 
 
regards, 
 
Lorento 
-- 
http://www.mastervb.net , http://www.padbuilder.com , 
http://www.immersivelounge.com
 
  
Navigation:
[Reply to this message] 
 |