RE: [PHP-DB] Converting asp sub function

From: Date: Thu, 11 Oct 2001 19:58:42 +0000
Subject: RE: [PHP-DB] Converting asp sub function
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-13271@lists.php.net to get a copy of this message
HTTP_SERVER_VARS["PATH_TRANSLATED"] HTTP_SERVER_VARS["REQUEST_URI"] HTTP_SERVER_VARS["SCRIPT_URI"] HTTP_SERVER_VARS["QUERY_STRING"] run phpinfo() and see all the stuff it outputs. -Jason Garber IonZoft.com At 03:28 PM 10/11/2001 -0400, Harpreet wrote:
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 -- 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 (#13271) next »