Hi Wolf
Thanks for the try. but sorry to say that the script stil hangs in the
auth3.php script.
Med venlig hilsen - Best Regards
Lars Pedersen
Notes Administrator
--------------------------------------------------------------------
"PHP Email List"
<[EMAIL PROTECTED]
om> To
<[EMAIL PROTECTED]>
01-05-2004 12:14 cc
<[EMAIL PROTECTED]>
Subject
RE: [PHP] Script never returns from
funktion.
> Subject: [PHP] Script never returns from funktion.
> Hi , i am having problems with a funktion call never returns from the
> funktion.
Now I'm still new to PHP so bare with me if this is wrong. But don't you
have to assign the "authenticate()" function to something as your returning
the $username? I believe you need to assign it to a variable name that of
which you are echo'ing on the very next line, as the function doesn't allow
for global scope of your "$username" variable.
[...]
> authenticate(); // the script never returns from this line
$username = authenticate();
> }
>echo "user = $username";
[/...]
The PHP Pros can correct me if I'm wrong now. I thought I'd take a shot at
this one though. Thanks and HTH.
Wolf
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php