* and then Nick Wilson declared.... > > > that one is using rawurlencode() but it's just as bad with urlencode - > > > How *should* I be doing this? > > > > is this how you tried to do it? > > > > $userAgent = "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"; > > curl_setopt($ch, CURLOPT_USERAGENT, $userAgent); > > Yep, but like this: > > $userAgent = urlencode("Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"); > curl_setopt($ch, CURLOPT_USERAGENT, $userAgent); just a *bump* if anyone thought the thread was resloved ;-) -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php