RE: [PHP-DB] Converting asp sub function

From: Date: Thu, 11 Oct 2001 19:28:07 +0000
Subject: RE: [PHP-DB] Converting asp sub function
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-13270@lists.php.net to get a copy of this message
Is there a function in PHP that can return the current url being used? regards, Harpreet Kaur Software Developer Crispin Corporations Inc. -----Original Message----- From: Harpreet [mailto:harpreet@crispincorp.com] Sent: Thursday, October 11, 2001 1:01 PM To: php-db@lists.php.net Subject: [PHP-DB] Converting asp sub function How can i convert the below sub functions in asp to php?? Help is appreciated. Please point me to the right manuel or tutorial. sub security_check (username,group_number) ssql = "select * from sec_user_tbl" if Session("ObjectRec3").State = 1 then Session("ObjectRec3").Close Session("ObjectRec3").Open ssql, Session("ObjectConnection") while not session("objectrec3").eof if ucase(session("objectrec3")("name"))=username then user_id = session("objectrec3")("uid") end if session("objectrec3").movenext wend Session("ObjectRec3").Close end sub Regards, Harpreet Kaur Software Developer Crispin Corporations Inc. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#13270) next »