Profile
Achievement
AzizLight's Recent PHP Snippets
- All /
« Prev 1 Next »
Put this at the top of your CodeIgniter models, controllers, libraries and helpers to restrict direct access to them.
1
1265
posted 14 years ago by AzizLight
Set the default timezone for date/time functions to use if none is set on the server.
0
673
posted 14 years ago by AzizLight
Simple script that returns to us a list with possible TimeZones
0
658
posted 14 years ago by AzizLight
I rewrote [this snippet](http://snipplr.com/view/15402/php-password-generator/).
Usage:
$password1 = new Password;
$password2 = new Password;
echo '<p>' . $password1->generate() . '</p>';
echo '<p>' . $password2->generate(array('leng...
1
783
posted 14 years ago by AzizLight
This line can be used to refresh the current page. Submitted by philsturgeon on #codeigniter in the Freenode IRC server.
3
693
posted 14 years ago by AzizLight