Php script help

The piece script i have put below needs to be used from another one that i will post to.

<?php $password_length = 6; function make_seed() { list($usec, $sec) = explode(' ', microtime()); return (float) $sec + ((float) $usec * 100000); } srand(make_seed()); $alfa = "1234567890"; $token = ""; for($i = 0; $i < $password_length; $i ++) { $token .= $alfa[rand(0, strlen($alfa))]; } ?>

this is part of what i am trying to access that with


I am new to php so this might be a simple answer.

you can’t do value=$token in html – you have to jump into php to output a php variable:

track7 - my dream-hosted site