cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

RE: meaningless characters & cookie problem

From: Fluteau Jerome ICM N PG U PLM A 2 <jerome.fluteau_at_siemens.com>
Date: Fri, 21 Feb 2003 17:42:36 +0100

I just tested it and it worked perfectly. I made the comparaison with the
one from Internet Explorer...
no difference. I'm sorry that is all what I can do for you. My code:
        
        $ch = curl_init();
        curl_setopt ($ch, CURLOPT_PROXY, "[HIDDEN]:8080");
        curl_setopt ($ch,
CURLOPT_URL,"http://www.alibaba.com/trade/company/cat/1530.html");
        curl_exec ($ch); // execute the curl command
        curl_close($ch);

-----Original Message-----
From: Cenk Uysal [mailto:cenk_uysal_at_yahoo.com]
Sent: Friday, February 21, 2003 5:25 PM
To: curl-and-php_at_lists.sourceforge.net
Subject: RE: meaningless characters & cookie problem

what i actually mean was "by default" where does curl saves the
cookie file when COOKIEJAR option is set by the name of cookie file?
but i realized that u can give the full path in the COOKIEJAR option.
so now i dont need to know the default directory any more.

please try to get the content of following url by curl for me:

http://www.alibaba.com/trade/company/cat/1530.html

you'll see that there will be "meaningless characters" and
repetations of same data portions in the result. u dont need to login
or send extra headers. this problem is not about php.

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge

-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
Received on 2003-02-21