Test a PHP sequence

I am ‘testPhp.php’


Warning: Undefined variable $PAGENAME in /home/customer/www/fearringtonfha.org/public_html/fhaphp/testPhp.php on line 25

=====Debugging printout =====

Server Variables

Array(42)
(
|  [‘SERVER_SOFTWARE’]=String(6)“Apache”
|  [‘REQUEST_URI’]=String(21)“/test-a-php-sequence/”
|  [‘PATH’]=String(28)“/usr/local/bin:/usr/bin:/bin”
|  [‘DOCUMENT_ROOT’]=String(58)“/home/u534-hfyyc2tdtmlo/www/fearringtonfha.org/public_html”
|  [‘REDIRECT_STATUS’]=String(3)“200”
|  [‘HTTPS’]=String(2)“on”
|  [‘UNIQUE_ID’]=String(27)“ZibYPyvrKqMTNfHwSrLLZAAAAA0”
|  [‘SCRIPT_URL’]=String(21)“/test-a-php-sequence/”
|  [‘SCRIPT_URI’]=String(47)“https://fearringtonfha.org/test-a-php-sequence/”
|  [‘HTTP_AUTHORIZATION’]=String(0)“”
|  [‘PHPHANDLER’]=String(24)“/usr/local/php82/bin/php”
|  [‘HTTP_X_PORT’]=String(5)“36804”
|  [‘HTTP_X_REAL_IP’]=String(13)“3.235.172.123”
|  [‘HTTP_X_FORWARDED_PROTO’]=String(5)“https”
|  [‘HTTP_HOST’]=String(18)“fearringtonfha.org”
|  [‘HTTP_X_ACCEPT_ENCODING’]=String(7)“br,gzip”
|  [‘HTTP_CONNECTION’]=String(5)“close”
|  [‘HTTP_USER_AGENT’]=String(40)“CCBot/2.0 (https://commoncrawl.org/faq/)”
|  [‘HTTP_ACCEPT’]=String(63)“text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8”
|  [‘HTTP_ACCEPT_LANGUAGE’]=String(14)“en-US,en;q=0.5”
|  [‘SERVER_NAME’]=String(18)“fearringtonfha.org”
|  [‘SERVER_ADDR’]=String(12)“35.212.47.40”
|  [‘SERVER_PORT’]=String(3)“443”
|  [‘REMOTE_ADDR’]=String(13)“3.235.172.123”
|  [‘SERVER_ADMIN’]=String(9)“webmaster”
|  [‘SCRIPT_FILENAME’]=String(68)“/home/u534-hfyyc2tdtmlo/www/fearringtonfha.org/public_html/index.php”
|  [‘REMOTE_PORT’]=String(5)“12148”
|  [‘REDIRECT_URL’]=String(21)“/test-a-php-sequence/”
|  [‘GATEWAY_INTERFACE’]=String(7)“CGI/1.1”
|  [‘SERVER_PROTOCOL’]=String(8)“HTTP/1.0”
|  [‘REQUEST_METHOD’]=String(3)“GET”
|  [‘QUERY_STRING’]=String(0)“”
|  [‘SCRIPT_NAME’]=String(10)“/index.php”
|  [‘PHP_DEFAULT_SOCKET_TIMEOUT’]=String(2)“40”
|  [‘PHP_MAX_EXECUTION_TIME’]=String(3)“120”
|  [‘PHP_MAX_INPUT_TIME’]=String(3)“120”
|  [‘PHP_MEMORY_LIMIT’]=String(4)“768M”
|  [‘PHP_POST_MAX_SIZE’]=String(4)“256M”
|  [‘PHP_UPLOAD_MAX_FILESIZE’]=String(4)“256M”
|  [‘PHP_SELF’]=String(10)“/index.php”
|  [‘REQUEST_TIME_FLOAT’]=Float(15)1713821759.6261
|  [‘REQUEST_TIME’]=Integer(10)1713821759
)
  • 0 /home/customer/www/fearringtonfha.org/public_html/fhaphp/testPhp.php(33): pr()
  • 1 /home/customer/www/fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code(3): require(‘/home/customer/…’)
  • 2 /home/customer/www/fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31): eval()

=====End Debugging printout=====

=====Debugging printout =====

Post Variables

Array(0)
(
)
  • 0 /home/customer/www/fearringtonfha.org/public_html/fhaphp/testPhp.php(34): pr()
  • 1 /home/customer/www/fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code(3): require(‘/home/customer/…’)
  • 2 /home/customer/www/fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31): eval()

=====End Debugging printout=====

=====Debugging printout =====

Contacts returned fpr pID 2517 in contacts class line at line 375

Array(2)
(
|  [‘0’]=>Array(6)
|  (
|  |  [‘id’]=Integer(4)2517
|  |  [‘Context’]=String(0)“”
|  |  [‘Name’]=String(5)“Phone”
|  |  [‘Type’]=String(5)“Phone”
|  |  [‘Value’]=String(12)“919-542-7020”
|  |  [‘Order’]=Integer(1)1
|  )
|  [‘1’]=>Array(6)
|  (
|  |  [‘id’]=Integer(4)2517
|  |  [‘Context’]=String(0)“”
|  |  [‘Name’]=String(5)“Email”
|  |  [‘Type’]=String(5)“Email”
|  |  [‘Value’]=String(19)“jim@jimbrooking.net”
|  |  [‘Order’]=Integer(1)2
|  )
)
  • 0 /home/customer/www/fearringtonfha.org/public_html/code/funcPr.php(128): pr()
  • 1 /home/customer/www/fearringtonfha.org/public_html/classes/contacts.php(375): pd()
  • 2 /home/customer/www/fearringtonfha.org/public_html/fhaphp/testPhp.php(113): contacts->__construct()

=====End Debugging printout=====

=====Debugging printout =====

new contacts(2517)

Object
(

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /home/customer/www/fearringtonfha.org/public_html/code/funcPr.php on line 85
|  link=NULL(0)NULL
|  LoginStatus=Boolean(1)TRUE
|  SQL=String(90)“SELECT pID FROM tblNamesX as n INNER JOIN tblLotsX as l on l.Lot=n.Lot WHERE l.Lot = “242””
|  RawData=>Array(1)
|  (
|  |  [‘0’]=>Array(1)
|  |  (
|  |  |  [‘pID’]=String(4)“2517”
|  |  )
|  )
|  Error=String(0)“”
|  Rows=Integer(1)1
|  dbImage=>Array(0)
|  (
|  )
|  IndexedData=>Array(0)
|  (
|  )
|  optionsParamsInit=>Array(3)
|  (
|  |  [‘zeroRow’]=Integer(1)1
|  |  [‘zeroLabel’]=String(16)“Make a selection”
|  |  [‘zeroValue’]=Integer(1)0
|  )
|  optionsParams=>Array(3)
|  (
|  |  [‘zeroRow’]=Integer(1)1
|  |  [‘zeroLabel’]=String(16)“Make a selection”
|  |  [‘zeroValue’]=Integer(1)0
|  )
|  Address=String(13)“242 Fox Ridge”
|  Area=String(1)“4”
|  Block=String(2)“22”
|  HPhone=String(12)“919-542-7020”
|  HEmail=String(19)“jim@jimbrooking.net”
|  HFax=String(0)“”
|  Email=String(19)“jim@jimbrooking.net”
|  PaperDIR=String(1)“1”
|  PaperNL=String(1)“0”
|  Phone=String(12)“919-542-7020”
|  Lot=String(3)“242”
|  occupied=String(1)“0”
|  contactTypes=String(0)“”
|  contactOptions=String(0)“”
|  coResidents=NULL(0)NULL
|  pID=String(4)“2517”
|  LName=String(8)“Brooking”
|  LNameI=String(0)“”
|  FNameI=String(5)“James”
|  NameI=String(14)“James Brooking”
|  FNameF=String(5)“James”
|  NameF=String(14)“James Brooking”
|  PEmail=String(0)“”
|  PPhone=String(0)“”
|  PBPhone=String(0)“”
|  PCell=String(0)“”
|  allContacts=>Array(0)
|  (
|  )
|  Contacts=>Array(2)
|  (
|  |  [‘0’]=>Array(6)
|  |  (
|  |  |  [‘id’]=Integer(4)2517
|  |  |  [‘Context’]=String(0)“”
|  |  |  [‘Name’]=String(5)“Phone”
|  |  |  [‘Type’]=String(5)“Phone”
|  |  |  [‘Value’]=String(12)“919-542-7020”
|  |  |  [‘Order’]=Integer(1)1
|  |  )
|  |  [‘1’]=>Array(6)
|  |  (
|  |  |  [‘id’]=Integer(4)2517
|  |  |  [‘Context’]=String(0)“”
|  |  |  [‘Name’]=String(5)“Email”
|  |  |  [‘Type’]=String(5)“Email”
|  |  |  [‘Value’]=String(19)“jim@jimbrooking.net”
|  |  |  [‘Order’]=Integer(1)2
|  |  )
|  )
|  Context=>Array(0)
|  (
|  )
)
  • 0 /home/customer/www/fearringtonfha.org/public_html/fhaphp/testPhp.php(113): pr()
  • 1 /home/customer/www/fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31) : eval()’d code(3): require(‘/home/customer/…’)
  • 2 /home/customer/www/fearringtonfha.org/public_html/wp-content/plugins/php-everywhere/public/partials/php-everywhere-block-public-display.php(31): eval()

=====End Debugging printout=====