temporary DNS lookup in php?

From: Date: Thu, 16 Jan 2003 13:56:21 +0000
Subject: temporary DNS lookup in php?
Groups: php.general 
Request: Send a blank email to php-general+get-131815@lists.php.net to get a copy of this message
Hello list, I am trying to open a remote webpage in my php program with curl library. The webpage will redirect me to another webpage(Say, "http://www.anothersite.com/index.html"). Basically, the curl library will resolve the domain name via the DNS servers defined in the system, however, I hope I can customized the temporary DNS lookup in the php program for special purpose without modifying the /etc/resolv.conf or other system configuration files. Is it possible? How? -- Patrick Hsieh<pahud@pahud.net>

« previous php.general (#131815) next »