1
2
3
4
<?php
	function randomPassword($length = 6){
		$chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_';
...

PHP On Random password

by Gerry, August 16, 2008 16:49

Slight rework of Ted's code...

C7a1b6cf2860b6ade63594b5a1e6af9c Talk
1
2
3
4
<?php
	function cache_function($buildCallback, array $args = array(), $timeoutSeconds = 3600){
		// Set up the filename for the cache file 
...

PHP On Cache any PHP function

by Gerry, August 16, 2008 03:25

Disagree with comment #1: t...

C7a1b6cf2860b6ade63594b5a1e6af9c Talk