Re: Controlling DomDocument's load and loadHTMLFile Request

From: Date: Tue, 06 Jun 2006 18:14:29 +0000
Subject: Re: Controlling DomDocument's load and loadHTMLFile Request
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-237481@lists.php.net to get a copy of this message
Shu Chow wrote: > Is there any way to alter the header of DomDocument's load/loadHTMLFile > request? I have a file that will display certain content for certain > user agents. I'd like to be able to spoof the UA of the request. don't know about that (I have my doubts) - but you could write a wrapper script on the receiving end that sppofs the UA and includes the real file being called; and then call the spoofing script with DomDocument->loadHTMLfile() ...just an idea. > > TIA, >

« previous php.general (#237481) next »