PHP On handling GET and POST in a ...
by Marcus,
October 26, 2007 17:24
It's also important for sit...
1 2 3 4
function random_password($length = 6)
{
$pass = '';
...
1 2 3 4
<?php # Function removeInjection(GPC) ...
1 2 3 4
<?php function secure_input(&$v) { if(is_array($v)) foreach($v as $i => $a) secure_input($v[$i]); ...
1 2 3 4
<?php $allowedPages = array('imprint','news','main'); //add more ...
1 2 3 4
<?php function random_password($length = 8){ return substr(str_shuffle('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_'),0,$length); ...
1 2 3 4
function randomString($length = 8, $characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_')
{
$string = '';
...
1 2 3 4
function random_password($length = 6)
{
$characters = array_merge(range('a', 'z'), range('A', 'Z'), range(0, 9));
...
PHP On making user html input secure
by blank714.myopenid.com,
October 14, 2007 15:40
wow okay cool, thanks
PHP On making user html input secure
by typefreak,
October 14, 2007 10:00
Overdoing it.
After the lin...
1 2 3 4
$variable_1 = secure_input($_POST[$variable_1]); $variable_2 = secure_input($_POST[$variable_2]); ...
PHP On making user html input secure
by blank714.myopenid.com,
October 13, 2007 18:05
so this could work like thi...
1 2 3 4
function secure_input($v) {
if ( is_array($v) ) {
return array_map('secure_input', $v);
...
PHP On making user html input secure
by typefreak,
October 13, 2007 15:42
I don't know why you're usi...
1 2 3 4
<?php if(isset($_POST['asdasd'])){ foreach($_POST as $pname => $pvalue){ ...
PHP On making user html input secure
by techietim,
October 13, 2007 00:50
That cleans all of the $_PO...
PHP On making user html input secure
by blank714.myopenid.com,
October 12, 2007 23:38
how exactly would that work...


Sorry, my level english is ...