Results 1 to 4 of 4
Dec 4, 2012, 16:40 #1
- Join Date
- Mar 2003
- 3 Post(s)
- 0 Thread(s)
grabbing the current date and the ip address
I have a mysql table with the following 2 data fields
`regdate` date NOT NULL,
`regip` varchar(30) NOT NULL default '',
Is this the correct way to capture both the current date (YYYY-MM-DD) and the IP address.
$date = curdate();
$ip = $_SERVER['REMOTE_ADDR'];
"Oh, and Jenkins--apparently your mother died this morning."