Can I get the IP address from a visitor?

From: Date: Mon, 30 Nov 2009 23:47:28 +0000
Subject: Can I get the IP address from a visitor?
Groups: php.general 
Request: Send a blank email to php-general+get-300171@lists.php.net to get a copy of this message
Hi! This is probably the wrong forum. Please redirect me if im out of place. I would like to find out what IP address my visitor uses when visiting a php script page on my domain. This page would contain a form in which the visitor would state his/her message. My goal is to create purchase-orders written on unique files, and to separate them my idea was to baptize files with the IP addresses, which would ive each visitor an unique purchase-order... Any hints to a newbie? Cheers, Lars

« previous php.general (#300171) next »