This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function get_rand_str($length) | |
{ | |
$chars = array_merge(range('a','z'), range('A','Z'), array('!','@','#','$','%','&','*')); | |
$length = intval($length) > 0 ? intval($length) : 16; | |
$max = count($chars) - 1; | |
$str = ""; | |
while($length--) { | |
shuffle($chars); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This is the most simple 3-col CSS grid I could imagine. It supports 3 columns of equal size with 10px margins. Feel free to modify this as | |
* you need. | |
*/ | |
/** | |
* The row | |
*/ | |
.row { clear: both; overflow: hidden; margin: 0 0 10px 0; } |
NewerOlder