Voting

: six minus six?
(Example: nine)

The Note You're Voting On

Tyler Larson
15 years ago
If you don't have this function but you do have OpenSSL installed, you can always fake it:

<?php
function openssl_random_pseudo_bytes($length) {
$length_n = (int) $length; // shell injection is no fun
$handle = popen("/usr/bin/openssl rand $length_n", "r");
$data = stream_get_contents($handle);
pclose($handle);
return
$data;
}
?>

<< Back to user notes page

To Top