<?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://permalink.gmane.org/gmane.comp.web.curl.php">
    <title>gmane.comp.web.curl.php</title>
    <link>http://permalink.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/3140"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.web.curl.php/3139"/>
        <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: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/3140">
    <title>Re: Embedding a web page into a PHP page</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3140</link>
    <description>Looks good, though have you tried putting the php tags inside html
tags in a .php file?
Such as :

&lt;html&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;

&lt;?php
$remote = fopen("http://127.0.0.1/my_site/DailyComics.cgi", "r");
fpassthru($remote);
?&gt;

&lt;/body&gt;
&lt;/html&gt;

On Tue, Dec 2, 2008 at 8:36 AM, Jeff Dunlap &lt;jeff_j_dunlap&lt; at &gt;yahoo.com&gt; wrote:



</description>
    <dc:creator>Andrey Kuznetsov</dc:creator>
    <dc:date>2008-12-02T19:13:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.web.curl.php/3139">
    <title>Embedding a web page into a PHP page</title>
    <link>http://permalink.gmane.org/gmane.comp.web.curl.php/3139</link>
    <description>I have embedded a cgi web application into a PHP page as follows:

&lt;?php
$remote = fopen("http://127.0.0.1/my_site/DailyComics.cgi", "r");
fpassthru($remote);
?&gt;

Everything looks good, the comics are embedded nicely into my PHP page.  

Please note that the cgi does not produce &lt;html&gt;, &lt;head&gt;, &lt;body&gt; tags (since 
the PHP application puts them where required).

My questions are:

1) Am I using the correct syntax to embed the cgi into the PHP page?

2) The cgi application is returning the HTTP response below.  Is this ok or do 
we have to modify something?  See below:

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Tue, 02 Dec 2008 15:14:32 GMT
Content-Type: text/html
Connection: Keep-Alive
Content-Length: 1054

Thank you very much,

Jeff


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

</description>
    <dc:creator>Jeff Dunlap</dc:creator>
    <dc:date>2008-12-02T16:36:49</dc:date>
  </item>
  <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</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.co</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</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>
  <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>
