How could I have a function create variables that can be used in other
functions?

_Example_:
makevars() {
list($md5,$pusername,$pproject,$pfile) = explode(":",$authok);
$user = $pusername;
$project = $pproject;
$file = $pfile;
}

function display () {
makevars();
echo "$user,$project,$file";
}

I am aware that return can return strings but is their a set global or a
function similar to return?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to