Re: [PHP] Controlling DomDocument's load and loadHTMLFile Request

2006-06-06 Thread Richard Lynch
On Tue, June 6, 2006 3:16 pm, Jochem Maas wrote: > Rasmus Lerdorf wrote: >> 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

[PHP] Re: [BULK] Re: [PHP] Controlling DomDocument's load and loadHTMLFile Request

2006-06-06 Thread Shu Chow
Exactly what I needed. Thank you! Rasmus Lerdorf wrote: 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. Ah, a good

Re: [PHP] Controlling DomDocument's load and loadHTMLFile Request

2006-06-06 Thread Jochem Maas
Rasmus Lerdorf wrote: > 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. > > Ah, a good question the answer to

Re: [PHP] Controlling DomDocument's load and loadHTMLFile Request

2006-06-06 Thread Rasmus Lerdorf
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. Ah, a good question the answer to which demonstrates the magic of PHP

Re: [PHP] Controlling DomDocument's load and loadHTMLFile Request

2006-06-06 Thread Jochem Maas
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 wra

[PHP] Controlling DomDocument's load and loadHTMLFile Request

2006-06-06 Thread Shu Chow
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. TIA, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

[PHP] Controlling DomDocument's load and loadHTMLFile Request

2006-06-06 Thread Shu Chow
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. TIA, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w