jjinno
07-26-2005, 06:19 PM
Im in search of a way to do the following (Pseudo-Code):
$var = get_URL("http://www.non-localhost.com/something.txt");
Is that doable?
The reason I ask is so that I can create a pseudo-login system, that uses an already existant system.
As a user logs in (just an example) to their webmail like hotmail, there is always a certain portion of the HTML code that would be strictly unique to the logged-in user. Thus I can say (pseudo-code again):
$usr = ask4usr();
$pwd = ask4pwd();
$test = "Some HTML that is unique to the logged in hotmail user";
if ($test eq login2hotmail($usr, $pwd)) { return true; } else { return false; }
Any Ideas?
$var = get_URL("http://www.non-localhost.com/something.txt");
Is that doable?
The reason I ask is so that I can create a pseudo-login system, that uses an already existant system.
As a user logs in (just an example) to their webmail like hotmail, there is always a certain portion of the HTML code that would be strictly unique to the logged-in user. Thus I can say (pseudo-code again):
$usr = ask4usr();
$pwd = ask4pwd();
$test = "Some HTML that is unique to the logged in hotmail user";
if ($test eq login2hotmail($usr, $pwd)) { return true; } else { return false; }
Any Ideas?