PHP Classes

File: exampleOutput.txt

Recommend this page to a friend!
  Classes of Pat Winn   DHCP Lease Query   exampleOutput.txt   Download  
File: exampleOutput.txt
Role: Sample output
Content type: text/plain
Description: Sample return value/output
Class: DHCP Lease Query
Send queries to a DHCP server
Author: By
Last change: Made accessible to those without a login.
Date: 8 years ago
Size: 1,774 bytes
 

Contents

Class file image Download
[root@xxxx php_syslog]# php LeaseQuery.php Lease Info We Got Back: Array ( [op] => 02 [htype] => 01 [hlen] => 06 [hops] => 00 [xid] => 00b78ca7 [secs] => 0000 [flags] => 0000 [ciaddr] => 209.213.xxx.xxx [yiaddr] => 0.0.0.0 [siaddr] => 0.0.0.0 [giaddr] => 216.150.xxx.xx [chaddr] => 00:25:2e:04:57:26 [sname] => 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 [file] => 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 [magic] => 63825363 [options] => 35010d3604d89664193304000075ae0608c0a80f7ec0a80f7f0704c0a80f7e3a040000214e3b04000060965b04000033120f0d6f6d2e63696d74656c2e6e657452240122363031204d414e4e464f524420434f2061746d20352f312f31332f313a302e333500ff0 [cid] => 601 SOMETOWN CO atm 5/1/13/1:0.35 // this is the combined option-82 info as "Circuit ID" [rid] => [message_type] => DHCPLEASEACTIVE [server_id] => 216.150.xxx.xx [lease_time] => 00d 08h 22m 06s [dns_server] => 192.168.15.126 [log_server] => 192.168.15.126 [renewal_time] => 00d 02h 22m 06s [rebinding_time] => 00d 06h 52m 06s [client-last-transaction-time] => 00d 03h 37m 54s [domain_name] => xxx.xxx.net [curTime] => 2010-11-15 02:09:41 [clttTime] => 2010-11-14 22:31:47 [startTime] => 2010-11-14 22:31:47 [renew] => 2010-11-15 04:31:47 [rebind] => 2010-11-15 09:01:47 [endTime] => 2010-11-15 10:31:47 [leaseTime] => 43200 )