That's practically the same code as mine. No luck.
-HoodedMan "Wind to thy wings. Light to thy path. Dreams to thy heart."
-----Original Message----- From: wikitech-l-bounces@wikimedia.org [mailto:wikitech-l-bounces@wikimedia.org] On Behalf Of Mark Jeays Sent: Wednesday, December 07, 2005 4:51 PM To: Wikimedia developers Subject: RE: [Bulk] [Wikitech-l] Access Denied from Wikipedia's proxies
Are you sure you're setting the header correctly? The following works for me.
$r = new HTTP_Request($url); $r->addHeader('User-Agent', 'User Agent String'); $r->sendRequest();
Mark _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l