Skip to content

Instantly share code, notes, and snippets.

View agungsp2000's full-sized avatar
😴

Agung Sagita agungsp2000

😴
View GitHub Profile
@cuheguevara
cuheguevara / master-detail.php
Created August 7, 2013 14:15
Master Detail PHP jQuery
<?php
if (isset($_POST["tombol"]))
{
echo "<pre>";
//print_r($_POST);
echo "</pre>";
$head = $_POST["head"];
$detail = $_POST["item"];
echo "Head Looping Foreach <br/>";
@tylerhall
tylerhall / strong-passwords.php
Created August 12, 2010 21:38
A user friendly, strong password generator PHP function.
<?PHP
// Generates a strong password of N length containing at least one lower case letter,
// one uppercase letter, one digit, and one special character. The remaining characters
// in the password are chosen at random from those four sets.
//
// The available characters in each set are user friendly - there are no ambiguous
// characters such as i, l, 1, o, 0, etc. This, coupled with the $add_dashes option,
// makes it much easier for users to manually type or speak their passwords.
//
// Note: the $add_dashes option will increase the length of the password by