Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (15 sloc) 0.355 kb
<?php
$callback = $_GET['callback'];
$password = '';
for($counter = rand(3,10); $counter > 0; $counter --) {
$password = $password . chr(rand(33, 126));
}
$data = array(
"password" => $password );
$json = json_encode($data);
header("Content-type: text/javascript");
if ($callback)
echo $callback .' (' . $json . ');';
else
echo $json;
?>
Jump to Line
Something went wrong with that request. Please try again.