<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.comp.web.curl.php">
    <title>gmane.comp.web.curl.php</title>
    <link>http://blog.gmane.org/gmane.comp.web.curl.php</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3138"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3137"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3136"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3135"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3134"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3133"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3132"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3131"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3130"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3129"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3128"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3127"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3126"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3125"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3124"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3123"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3122"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3121"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3120"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3119"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3138">
    <title>trying to simulate login to UPS (willing to $pay$ for solution)</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3138</link>
    <description>_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
</description>
    <dc:creator>Vadim_ghk</dc:creator>
    <dc:date>2008-12-01T09:03:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3137">
    <title>Re: sending POST data to remote server</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3137</link>
    <description>_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
</description>
    <dc:creator>Stephen Pynenburg</dc:creator>
    <dc:date>2008-12-01T01:27:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3136">
    <title>sending POST data to remote server</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3136</link>
    <description>Hi,

I have a problem with sending data to remote server. Actually, not to 
every remote server so I want to ask if there are any conditions for 
that remote server which have to be obey like that remote server have to 
have switched on curl extension too or something like that. My source 
code is :

  $ch = curl_init("http://byt.sk/inzeraty-byty-predam.php");

  curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
  curl_setopt($ch, CURLOPT_HEADER, TRUE);
  curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
  curl_setopt($ch, CURLOPT_POST,TRUE);
  $postData = array("_id_kraj"=&gt;"100",
                    "_strPrev"=&gt;"50",
                    "_strFrst"=&gt;"0",
                    "_strNext"=&gt;"150",
                    "_strLast"=&gt;"11253",
                    "_btnNext"=&gt;"+50+&gt;+");
  $post = 
"_id_kraj=100&amp;_strPrev=50&amp;_strFrst=0&amp;_strNext=150&amp;_strLast=11255&amp;_btnNext=+50+&gt;5";
  curl_setopt($ch, CURLOPT_POSTFIELDS,$post);

  $result  = curl_exec($ch);
  echo $result;

Several names of variables are in Slovak, but it isn't importat what 
they mean. When I execute it firebug shows me error "Permission denied 
to call method
Location.toString". It doesn't show up when I try to send POST data to 
my server where I'm sure that curl is installed.

Thanks,
elf
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

</description>
    <dc:creator>Lukas Polak</dc:creator>
    <dc:date>2008-11-30T19:53:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3135">
    <title>Help debugging Curl PHP script when downloading PDF</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3135</link>
    <description>_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
</description>
    <dc:creator>Rick Rodriguez</dc:creator>
    <dc:date>2008-11-23T14:11:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3134">
    <title>Re: PHP - Curl and Multipart Form File Upload</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3134</link>
    <description>Thanks but I figured out with help from IRC how it should work, the
problem was with pointing to the file on windows system, for some
reason relative path was not recognized, so I had to type in the whole
path:

&lt;?php

$data = array
(
'type' =&gt; 'direct',
'userfile[]' =&gt; '&lt; at &gt;c:\Apache Server Doc Folder\picture.jpg',
'private' =&gt; '0',
);

$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "http://www.url.com/upload.php");
curl_setopt($curl, CURLOPT_VERBOSE, true);
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
$result = curl_exec($curl);
curl_close($curl);

?&gt;

On Sat, Nov 22, 2008 at 1:39 PM, Daniel Stenberg &lt;daniel&lt; at &gt;haxx.se&gt; wrote:



</description>
    <dc:creator>Andrey Kuznetsov</dc:creator>
    <dc:date>2008-11-23T05:13:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3133">
    <title>Re: PHP - Curl and Multipart Form File Upload</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3133</link>
    <description>

AFAIK, the magic key here is to let the name start literally with a '&lt; at &gt;' and 
the rest being a file name. Staring it with '{' will just make that string be 
included as text.

See the example here:

 http://curl.haxx.se/libcurl/php/examples/multipartpost.html

</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2008-11-22T21:39:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3132">
    <title>Introduction and first question</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3132</link>
    <description>Hi,

I am fairly new to curl, I have done simple file transfers with it in
the past, but that's it.
Now I am trying something else:

I need to log in to an OWA Exchange Server (MS-Exchange 2007) and
download an attachment from a specific message.

At the moment I am finding bits and pieces of information here and
there, so I am looking for pointers and similar examples.


I am using curl 7.16.4 on the command.

Here's my current script:

curl -v --cacert /home/mritzkowski/curl/cacert.pem -s -b cookies.txt
-c cookies.txt -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT
5.0)" -L https://webmail.company.com/owa/auth/logon.aspx?url=https://webmail.company.com/owa/&amp;reason=0
-d username=username -d password=password -d
destination=https://webmail.company.com/owa/ -d flags=0 -d
forcedownlevel=0 -d isUtf8=1 -d SubmitCreds=Log%20On -d
https://webmail.company.com/owa/

I get this output:

 * About to connect() to webmail.company.com port 443 (#0)
*   Trying 172.27.13.63... connected
* Connected to webmail.company.com (172.27.13.63) port 443 (#0)
* successfully set certificate verify locations:
*   CAfile: /home/mritzkowski/curl/cacert.pem
  CApath: none
* SSLv2, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using AES128-SHA
* Server certificate:
*        subject: /C=US/O=webmail.company.com/OU=GT35868496/OU=See
www.geotrust.com/resources/cps (c)08/OU=Domain Control Validated -
QuickSSL(R)/CN=webmail.company.com
*        start date: 2008-09-19 15:46:54 GMT
*        expire date: 2010-09-20 15:46:54 GMT
*        common name: webmail.company.com (matched)
*        issuer: /C=US/O=Equifax Secure Inc./CN=Equifax Secure Global
eBusiness CA-1
* SSL certificate verify ok.
&lt; HTTP/1.1 200 OK
&lt; Cache-Control: no-cache
&lt; Pragma: no-cache
&lt; Content-Length: 8344
&lt; Content-Type: text/html; charset=utf-8
&lt; Expires: -1
&lt; Server: Microsoft-IIS/7.0
&lt; X-AspNet-Version: 2.0.50727
&lt; X-OWA-Version: 8.1.291.1
&lt; X-Powered-By: ASP.NET
&lt; Date: Fri, 21 Nov 2008 17:11:34 GMT
&lt;
&lt;!-- Copyright (c) 2006 Microsoft Corporation.  All rights reserved. --&gt;
&lt;!-- OwaPage = ASP.auth_logon_aspx --&gt;




I think I am stuck at the login screen ...
Where to go from here?


Thanks for any help or pointers!
Matthias Ritzkowski
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

</description>
    <dc:creator>Matthias Ritzkowski</dc:creator>
    <dc:date>2008-11-21T17:16:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3131">
    <title>PHP - Curl and Multipart Form File Upload</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3131</link>
    <description>Hello,
I'm new to PHP but I've spent a lot of time looking and trying.
My goal is to write a php script that would take a file and upload it
to an image host website through the use of multipart form post.

I've read on the php.net site and tried their examples, 1 of them with
fsockopen, that totally didn't work. Now I'm trying curl, and I'm
running into the problem where I get something like this:


* About to connect() to www.imageboo.com port 80 (#0)
*   Trying 67.159.45.97... * connected
* Connected to www.imageboo.com (67.159.45.97) port 80 (#0)
Host: www.imageboo.com
Accept: */*
Content-Length: 157
Expect: 100-continue
Content-Type: multipart/form-data;
boundary=----------------------------8d605df41713

&lt; HTTP/1.0 200 OK
&lt; Date: Fri, 21 Nov 2008 03:58:28 GMT
&lt; Server: Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30
mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8
mod_ssl/2.8.31 OpenSSL/0.9.8b
&lt; X-Powered-By: PHP/5.2.5
&lt; Cache-Control: no-cache, must-revalidate
&lt; Expires: Mon, 26 Jul 1997 05:00:00 GMT
&lt; Content-Type: text/html
&lt; X-Cache: MISS from serv1.submitfly.com
&lt; Via: 1.0 serv1.submitfly.com:80 (squid/2.6.STABLE16)
&lt; Connection: close
* Closing connection #0


The picture.jpg exists, but for some reason the "Content-Type:
multipart/form-data;
boundary=----------------------------8d605df41713" cuts off, I assume
picture data supposed to follow the boudary id?

Here is the code I'm using to try and post the image to this host:


&lt;?php
//HTML form field for multipart/form-data is here
http://www.imageboo.com/index.php
$docurl = curl_init();
curl_setopt($docurl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($docurl, CURLOPT_URL, "http://www.imageboo.com/upload.php");
curl_setopt($docurl, CURLOPT_VERBOSE, 1);
curl_setopt($docurl, CURLOPT_HEADER, 1);
curl_setopt($docurl, CURLOPT_POST, 1);
curl_setopt($docurl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($docurl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($docurl, CURLOPT_POSTFIELDS, array("userfile"=&gt;"{&lt; at &gt;picture.JPG}"));
$webpage = curl_exec($docurl);
echo "$webpage";
curl_close($docurl);
?&gt;

Here is what I read on mailarchives here, PHP doesn't handle multipart
posts correctly, correct?, instead should use formadd with
CURLOPT_HTTPPOST and CURLFORM_FILE, HOWEVER these commands do not
exist in the PHP interface, so how can I upload images using multipart
form post? What am I doing wrong, has anyone come up with these
solutions or used such methods?

I've spent a couple of days trying to figure this out and so far :(
only switched over to using curl instead of fsockopen, and I don't
know how to use curl very well. It is important that the code be PHP,
because it needs to be run inside or as a script for integration.

Thank you very much.
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

</description>
    <dc:creator>Andrey Kuznetsov</dc:creator>
    <dc:date>2008-11-21T04:10:08</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3130">
    <title>Re: Javascript and Curl?</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3130</link>
    <description>

The "standard" way to fix this problem is to run LiveHTTPHeaders with firefox 
when you do this manually, and then you just repeat those actions with your 
curl-using program.

</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2008-11-16T23:55:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3129">
    <title>Javascript and Curl?</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3129</link>
    <description>_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
</description>
    <dc:creator>Andre Lopes</dc:creator>
    <dc:date>2008-11-16T19:27:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3128">
    <title>RE: Curl error 7 while accessing a subdomain</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3128</link>
    <description>_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
</description>
    <dc:creator>Rakhy Sunny</dc:creator>
    <dc:date>2008-11-16T03:32:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3127">
    <title>Re: Curl error 7 while accessing a subdomain</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3127</link>
    <description>

Error 7 means that the TCP connect failed. It means that libcurl failed to 
connect to the given port of the given host name.

Many hosting companies don't allow connections "back" to your own host from 
your own PHP programs so perhaps that's what's happening here.

</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2008-11-15T18:48:24</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3126">
    <title>Re: Curl error 7 while accessing a subdomain</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3126</link>
    <description>_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
</description>
    <dc:creator>adeel shahid</dc:creator>
    <dc:date>2008-11-15T08:29:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3125">
    <title>RE: Curl error 7 while accessing a subdomain</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3125</link>
    <description>_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
</description>
    <dc:creator>Rakhy Sunny</dc:creator>
    <dc:date>2008-11-15T04:18:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3124">
    <title>Re: Curl error 7 while accessing a subdomain</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3124</link>
    <description>_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
</description>
    <dc:creator>adeel shahid</dc:creator>
    <dc:date>2008-11-14T19:42:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3123">
    <title>Curl error 7 while accessing a subdomain</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3123</link>
    <description>_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
</description>
    <dc:creator>Rakhy Sunny</dc:creator>
    <dc:date>2008-11-14T18:36:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3122">
    <title>RE: pecl-http curl-related compile errors</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3122</link>
    <description>Fair enough - I'll go back to pecl-bugs with the evidence.  

Thanks.

/Sam


Sam Sexton
Provisioning Team Leader


Thomson Reuters 

Phone: 53372 or +44 24 7625 6562
Mobile: +44 7990 563739


sam.sexton&lt; at &gt;thomsonreuters.com
thomsonreuters.com


This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.


_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

</description>
    <dc:creator>Sam Sexton</dc:creator>
    <dc:date>2008-11-14T12:18:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3121">
    <title>RE: pecl-http curl-related compile errors</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3121</link>
    <description>

Well, the problem is not in libcurl so I'm at loss here. The build problems 
you see are within/caused by pecl-http so there's where you should seek your 
answers.

</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2008-11-14T11:53:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3120">
    <title>RE: pecl-http curl-related compile errors</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3120</link>
    <description>I agree, Daniel! ;-) However, I'm using the distributed versions of cURL
and pecl-http and have tried two reliable compilers, so I'm at a loss to
work out what it is that is wrong. Do you have any suggestions as to
what to look at, please?

Meanwhile, I'll try compiling on another box or two to see if that makes
any difference.

Cheers,

/Sam


Sam Sexton
Provisioning Team Leader


Thomson Reuters 

Phone: 53372 or +44 24 7625 6562
Mobile: +44 7990 563739


sam.sexton&lt; at &gt;thomsonreuters.com
thomsonreuters.com

This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.


_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

</description>
    <dc:creator>Sam Sexton</dc:creator>
    <dc:date>2008-11-14T11:24:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3119">
    <title>RE: pecl-http curl-related compile errors</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3119</link>
    <description>


You seem to have something in there that messes up the prototype really badly.

</description>
    <dc:creator>Daniel Stenberg</dc:creator>
    <dc:date>2008-11-14T11:03:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3118">
    <title>RE: pecl-http curl-related compile errors</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3118</link>
    <description>_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
</description>
    <dc:creator>Sam Sexton</dc:creator>
    <dc:date>2008-11-13T14:04:41</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.web.curl.php">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.web.curl.php</link>
  </textinput>
</rdf:RDF>
