Severity: 8192
Message: Function create_function() is deprecated
Filename: geshi/geshi.php
Line Number: 4698
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
Option Compare Database Option Explicit Public Function GetPhoneFromLDAP(Username As String) As String Dim objConnection As Object Set objConnection = CreateObject("ADODB.Connection") objConnection.Open "Provider=ADsDSOObject;" Dim objCommand As Object Set objCommand = CreateObject("ADODB.Command") objCommand.ActiveConnection = objConnection objCommand.CommandText = "<LDAP://OU=Users,OU=495,OU=ESTR,DC=emea,DC=corpdir,DC=net>;(&( objectclass=user)(sAMAccountName=" & Username & "));telephoneNumber;subtree" Dim objRecordSet As Object Set objRecordSet = objCommand.Execute On Error Resume Next GetPhoneFromLDAP = objRecordSet.Fields("telephoneNumber") End Function Public Function GetMailFromLDAP(Username As String) As String Dim objConnection As Object Set objConnection = CreateObject("ADODB.Connection") objConnection.Open "Provider=ADsDSOObject;" Dim objCommand As Object Set objCommand = CreateObject("ADODB.Command") objCommand.ActiveConnection = objConnection objCommand.CommandText = "<LDAP://OU=Users,OU=495,OU=ESTR,DC=emea,DC=corpdir,DC=net>;(&( objectclass=user)(sAMAccountName=" & Username & "));mail;subtree" Dim objRecordSet As Object Set objRecordSet = objCommand.Execute On Error Resume Next GetMailFromLDAP = objRecordSet.Fields("mail") End Function ' Me.Email_Antragsteller.Value = GetMailFromLDAP(Me!UserID_Antragsteller) ' Me.Telefon_Antragsteller.Value = GetPhoneFromLDAP(Me!UserID_Antragsteller)