[PHP] Re: cURL issues posting to an end point

2012-10-11 Thread Ian
On 04/10/2012 15:54, Bastien Koert wrote: > Hi All, > > I have a page that receives third party data into my app, xml data via > https post. This works fine and I receive the data as expected. The > issue I am facing is around posting XML data back as a synchronous > response to the post I receive

[PHP] Re: CURL vs Exif_imagetype()

2012-09-20 Thread Maciek Sokolewicz
On 20-09-2012 13:48, Rango wrote: Hi, I host a flash painting tool on my site, and wanted to add ability for the users to add a background image from a given url, but I have to make sure the url they add truely refers to a real jpg file, and not something else. I found a methoed with exif_image

[PHP] Re: Curl cost

2011-09-28 Thread Jonesy
On Wed, 28 Sep 2011 01:28:19 -0700, muad shibani wrote: > what are the costs of using PHP Curl to show another websites on my > site as stumbleon do .. traffic, memory or what? One cost might be legal expenses and penalties for copyright infringement. -- PHP General Mailing List (http://www

Re: [PHP] Re: CURL cannot connect to URL - IP address - after successful connection

2010-04-30 Thread ioan...@btinternet.com
On 2010/04/30 17:02, Pete Ford wrote: On 25/04/10 14:17, ioan...@btinternet.com wrote: I can return a target page - once, but then on refresh within a few hours the script curl_error is that it cannot connect to the host and return is empty. The target URL is an ip address, not a named url, so

[PHP] Re: CURL cannot connect to URL - IP address - after successful connection

2010-04-30 Thread Pete Ford
On 25/04/10 14:17, ioan...@btinternet.com wrote: I can return a target page - once, but then on refresh within a few hours the script curl_error is that it cannot connect to the host and return is empty. The target URL is an ip address, not a named url, so maybe it has something to do with DNS. I

[PHP] Re: Curl fiel Upload

2009-01-21 Thread Matthias Laug
thanks! 2009/1/21 Manuel Lemos > Hello, > > on 01/20/2009 09:10 PM Matthias Laug said the following: > > I've got a problem using curl to upload a file. I want to send it to a > form > > written with the Django Framework. > > > > Post Request are processed correctly, with one anomaly. > > This p

[PHP] Re: Curl fiel Upload

2009-01-20 Thread Manuel Lemos
Hello, on 01/20/2009 09:10 PM Matthias Laug said the following: > I've got a problem using curl to upload a file. I want to send it to a form > written with the Django Framework. > > Post Request are processed correctly, with one anomaly. > This piece of code works fine > > curl_setopt($proc

Re: [PHP] Re: curl can't connect to my home server

2009-01-20 Thread Eric Butera
On Tue, Jan 20, 2009 at 1:35 PM, Rene Veerman wrote: > OOPS :) > > As a second test, i changed the test-url to > > http://82.170.249.144:81/mediaBeez/sn.php > > On Tue, Jan 20, 2009 at 7:33 PM, Rene Veerman wrote: > >> Hi, >> >> I've been stuck on this prob

[PHP] Re: curl can't connect to my home server

2009-01-20 Thread Rene Veerman
And FYI; the test-script i'm using is http://82.170.249.144/mediaBeez/sn.php";); //curl_setopt($ch, CURLOPT_URL, "http://www.google.de/";); //curl_setopt($ch, CURLOPT_HEADER, ); curl_setopt($ch, CURLOPT_PORT, 81); #grab URL and pass it to the browser curl_exec($ch); $error = curl_error($ch); #clo

[PHP] Re: curl can't connect to my home server

2009-01-20 Thread Rene Veerman
OOPS :) As a second test, i changed the test-url to http://82.170.249.144:81/mediaBeez/sn.php On Tue, Jan 20, 2009 at 7:33 PM, Rene Veerman wrote: > Hi, > > I've been stuck on this problem i'm having after i re-installed my linux > (debian) machine last

[PHP] Re: CURL receiving content data

2007-08-24 Thread Brian Rue
Bruce, I tried using curl to just get the feed and it worked ok: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://api.beta.blogs.aol.com/bsteinback0224/service.xml'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 1); print curl_exec($ch); My guess would

[PHP] Re: cURL: multipart/form-data POST request with empty file part

2007-05-05 Thread Manuel Lemos
Hello, on 05/04/2007 09:44 AM Emmanuel Raulo-Kumagai said the following: > Hello > > I'm writting a client in PHP for some CMS. > I need to send an HTTP POST request with a multipart/form-data content. > One of the parts is a file which must look like the request was issued > after submitting a w

Re: [PHP] Re: CURL questions

2007-03-29 Thread Chris
Manuel Lemos wrote: Hello, on 03/30/2007 12:38 AM Chris said the following: I get a 500 Internal server error, not sure why as this page being called just inserts a word into a database. Could the cause be something else network related? What else can I troubleshoot? or is my code incorrect? I

Re: [PHP] Re: CURL questions

2007-03-29 Thread Manuel Lemos
Hello, on 03/30/2007 12:38 AM Chris said the following: >>> I get a 500 Internal server error, not sure why as this page being >>> called just inserts a word into a database. Could the cause be something >>> else network related? What else can I troubleshoot? or is my code >>> incorrect? >> >> It

Re: [PHP] Re: CURL questions

2007-03-29 Thread Chris
Manuel Lemos wrote: Hello, on 03/29/2007 01:15 PM Angelo Zanetti said the following: I have a script on a server that does some processing, now I want to execute that script using cURL. This is a basic scenario and I assume its possible but its not working. The script is as follows: $url =

[PHP] Re: CURL questions

2007-03-29 Thread Manuel Lemos
Hello, on 03/29/2007 01:15 PM Angelo Zanetti said the following: > I have a script on a server that does some processing, now I want to > execute that script using cURL. This is a basic scenario and I assume > its possible but its not working. > > The script is as follows: > >$url = "http://

[PHP] Re: cURL and sending an POST with an @ as first char.

2006-08-24 Thread M. Sokolewicz
Mathijs wrote: Mathijs wrote: Hello there, I Have a question about cURL and sending POST data. I have an array with values which are needed for an POST. There is one value which starts with an @. This gives me a error: ErrorNo.: 26, ErrorMsg: 'failed creating formpost data'. This is becous

[PHP] Re: cURL and sending an POST with an @ as first char.

2006-08-24 Thread Jo�o C�ndido de Souza Neto
I think urlencode can solve this. "Mathijs" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > Hello there, > > I Have a question about cURL and sending POST data. > > I have an array with values which are needed for an POST. > There is one value which starts with an @. > This give

[PHP] Re: cURL and sending an POST with an @ as first char.

2006-08-24 Thread Mathijs
Mathijs wrote: Hello there, I Have a question about cURL and sending POST data. I have an array with values which are needed for an POST. There is one value which starts with an @. This gives me a error: ErrorNo.: 26, ErrorMsg: 'failed creating formpost data'. This is becouse an @ at the sta

Re: [PHP] Re: Curl Question

2006-01-03 Thread Ray Hauge
Thanks for the info! Manuel Lemos wrote: Hello, on 01/03/2006 06:52 PM Ray Hauge said the following: I just wanted to see if anyone knew if there was any difference in performance between using curl in an exec() statement and when using the libCurl functions within PHP. Executing a separ

[PHP] Re: Curl Question

2006-01-03 Thread Manuel Lemos
Hello, on 01/03/2006 06:52 PM Ray Hauge said the following: I just wanted to see if anyone knew if there was any difference in performance between using curl in an exec() statement and when using the libCurl functions within PHP. Executing a separate program should be a little slower as it ad

RE: [PHP] Re: cURL to re-post form iinformation - SOLVED SORTA

2005-10-25 Thread Jay Blanchard
[snip] > Now, this works OK...save for one little problem that I cannot seem to > figure out. The URL now reads > >http://TEST20051010/NameOfProcessingScript.php instead of > FMSRegister.php. [/snip] I kinda' solved this, but not reallyit was more of a mental adjustment. FMSRegister.ph

[PHP] Re: cURL to re-post form iinformation

2005-10-25 Thread Al
Jay Blanchard wrote: Howdy all, I am trying a new technique, for me, when processing a form. The form is filled out and submitted, during processing it is determined that there is an error with the posted data...such as a blank or mismatched password, I want to return the form with the data fill

[PHP] Re: curl version and PHP docs

2005-09-19 Thread Mark Rees
To put the question more simply, is there any way of finding out what versions of the PHP modules ship with each/the latest release, short of installing that version of PHP? Some release notes, for example? Thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: cUrl and proxies

2005-07-01 Thread Manuel Lemos
Hello, on 06/30/2005 01:27 PM Mark Rees said the following: UPDATE: I think it is a bug in cURL, according to this link (I am using an ISA proxy). https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1188280&group_i d=976 In that case you may want to try this PHP HTTP client class tha

Re: [PHP] Re: cUrl and proxies

2005-06-30 Thread Richard Lynch
On Thu, June 30, 2005 9:27 am, Mark Rees said: > UPDATE: I think it is a bug in cURL, according to this link (I am using an > ISA proxy). > https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1188280&group_i > d=976 > > So all I need to do is install the latest version of cURL then. I am >

[PHP] Re: cUrl and proxies

2005-06-30 Thread Mark Rees
UPDATE: I think it is a bug in cURL, according to this link (I am using an ISA proxy). https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1188280&group_i d=976 So all I need to do is install the latest version of cURL then. I am really struggling with this - I don't have a good understa

Re: [PHP] Re: CURL running form PHP exec() problem!

2005-04-07 Thread Richard Lynch
On Thu, April 7, 2005 11:54 am, cragland said: > I've encountered the same problem with exec(curl, system(curl, etc. PHP > exits with sh: \curl: No file or directory. I'm wondering if there is > some php shell option that has to be set. Use full path names for EVERYTHING in exec. If curl, as I

[PHP] Re: CURL running form PHP exec() problem!

2005-04-07 Thread cragland
I've encountered the same problem with exec(curl, system(curl, etc. PHP exits with sh: \curl: No file or directory. I'm wondering if there is some php shell option that has to be set. My other problem: Upfront, I can post and recieve data just fine with asp.net, perl, and java client scripts.

[PHP] Re: curl CUSTOMREQUEST

2004-12-21 Thread Manuel Lemos
Hello, on 12/21/2004 05:10 PM Juan Nin said the following: I saw a post at http://www.php.net/manual/en/ref.curl.php where it says: "Using the customrequest for a complete post is wrong. Libcurl will add a partial url, the http version and the standard headers after the post data - while this works

[PHP] Re: cURL and Proxy Servers

2004-09-30 Thread Nick Wilson
* and then Manuel Lemos declared > You may want to try this HTTP client class instead. It supports requests > via proxies and does not use Curl. > > http://www.phpclasses.org/httpclient Hmmm.. good point Manuel, i have seen the class, in fact it was the original way i /was/ going to build t

[PHP] Re: cURL and Proxy Servers

2004-09-30 Thread Manuel Lemos
Hello, On 09/30/2004 11:27 AM, Nick Wilson wrote: I'm using cURL and have a question about this line (part of a function) curl_setopt($ch, CURLOPT_PROXY, $proxy2use); I know that *after* I curl_exec() i can find out if the proxy resolved or not with curl_errno() (it would return 5) but it seems tha

[PHP] Re: curl grabbing a website

2004-09-20 Thread Matthew Weier O'Phinney
* Martin Justra <[EMAIL PROTECTED]>: > I finally managed to grab the website via curl. Now the problen is that I > want to have a small piece of that site. I tried to cut that site by > explode. Now the browser hangs. He says "waiting for www.domain.de" and > does nothing. > > Here is my lis

[PHP] Re: curl grabbing a website

2004-09-19 Thread Manuel Lemos
Hello, On 09/19/2004 09:49 AM, Martin Justra wrote: I finally managed to grab the website via curl. Now the problen is that I want to have a small piece of that site. I tried to cut that site by explode. Now the browser hangs. He says "waiting for www.domain.de" and does nothing. Here is my

[PHP] Re: CURL question, cutting off custom request

2004-08-16 Thread Manuel Lemos
Hello, On 08/16/2004 12:40 PM, Dominic Schanen wrote: I'm sending a custom request to a server using CURL, which may contain some high-ascii characters. Are there certain characters that would cause CURL not to send the complete custom request? Are there some CURL options that can help make sure

[PHP] Re: CURL Help

2004-04-19 Thread Manuel Lemos
Hello, On 04/20/2004 02:36 AM, Monty wrote: Do my CURL statements look correct based on what the gateway needs to receive?? I have PHP 4.3.2 and Apache 2.0 running on Red Hat ES 3.0. I suspect that the port should not be in the host header. Anyway, you may want to try using this HTTP client class

[PHP] Re: CURL and Cookies

2004-02-09 Thread Manuel Lemos
Hello, On 02/09/2004 05:29 PM, Richard Miller wrote: I would appreciate any help you can give me about a problem I am having with PHP's CURL functions. I want to use CURL to download news from Wall Street Journal Online. When you visit the WSJ home page, you're forwarded to an authentication

[PHP] Re: curl tutorial

2003-12-29 Thread Manuel Lemos
Hello, On 12/30/2003 04:39 AM, Binay wrote: can any body point me the direction where i can find curl tutorials. I was going through the curl concept from php manual but couldn't quench my thirst as this section is not very clear. I also searched in the archive but couldn't find any. if any of u

Re: [PHP] Re: curl and sent headers

2003-09-08 Thread John Ryan
yeah, sure. well, for archival purposes, i couldnt do it with PHP. the verbose option didnt work with PHP, CURLOPT_VERBOSE. but it did work on the command line. so i logged in and re-created my curl transfer on the command line with an added -v, for verbose. and it gave me back the headers it sent

Re: [PHP] Re: curl and sent headers

2003-09-08 Thread Chris Shiflett
--- John Ryan <[EMAIL PROTECTED]> wrote: > is there any way of seeing exactly what headers cURL sent in a > transfer, with PHP? --- John Ryan <[EMAIL PROTECTED]> wrote: > i found out myself if anyone wants to know... Yes, please. It is always helpful (and courteous) to mention how you solved your

[PHP] Re: curl and sent headers

2003-09-08 Thread John Ryan
i found out myself if anyone wants to know... "John Ryan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > is there any way of seeing exactly what headers cURL sent in a transfer, > with PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

[PHP] Re: CURL

2003-08-14 Thread John Ryan
i was more asking for the actual curl commands to do so, i suppose this wasnt the rite ng to ask, but ive nowhere else! the docs on the curl site are kinda crap "Igor Konforti" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > yeah, there is way to do it! > http://www.php.net/manual/en

Re: [PHP] Re: CURL

2003-08-04 Thread Jason Sheets
In most cases you can make Curl submit the login form itself, in which case Curl would become logged in. You can use Curl to get both GET and POST requests, the comments in the PHP manual are pretty decent. Jason John Ryan wrote: i was more asking for the actual curl commands to do so, i suppo

[PHP] Re: CURL

2003-08-04 Thread Igor Konforti
yeah, there is way to do it! http://www.php.net/manual/en/function.curl-setopt.php On Tue, 5 Aug 2003 01:04:42 +0100, John Ryan <[EMAIL PROTECTED]> wrote: theres this site i want to use to execute a command by visting a url. like http://www.site.com/stuff.php?id=1234&message=hello_world when i v

[PHP] RE: Curl & NTLM

2003-06-25 Thread Boaz Yahav
I mean NTLM :) -Original Message- From: Andrew Ziem [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 5:27 AM To: Boaz Yahav Cc: [EMAIL PROTECTED] Subject: Re: Curl & NTLM Try the PHP file() command. Assumably you mean HTML not NTML. Andrew http://cday.sourceforge.net Boaz Yah

[PHP] Re: Curl & NTLM

2003-06-25 Thread Andrew Ziem
Try the PHP file() command. Assumably you mean HTML not NTML. Andrew http://cday.sourceforge.net Boaz Yahav wrote: Does anyone have a code snippet that connects to a remote server using NTML and gets the HTML source? Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP migh

Re: [PHP] Re: cURL with PHP Help?

2002-11-20 Thread Steve Keller
At 11/20/2002 08:46 AM, you wrote: >Have you tried this: >http://curl.haxx.se/libcurl/php/examples/ Yeah. That's where you end up from the Sourcefourge site. There's a sample on there for a multi-part post, but I'm confused as to how it works. >Would help if you posted some code, or errors or s

[PHP] Re: cURL with PHP Help?

2002-11-20 Thread UberGoober
Have you tried this: http://curl.haxx.se/libcurl/php/examples/ Would help if you posted some code, or errors or something. I've used curl in several PHP applications successfully. Snoopy is actually a really awesome implementation of curl in php: http://sourceforge.net/projects/snoopy/ I replace

[PHP] Re: cURL with PHP Help?

2002-11-19 Thread UberGoober
Have you tried this: http://curl.haxx.se/libcurl/php/examples/ Would help if you posted some code, or errors or something. I've used curl in several PHP applications successfully. Snoopy is actually a really awesome implementation of curl in php: http://sourceforge.net/projects/snoopy/ I replace

[PHP] Re: cURL and POST

2002-08-21 Thread lallous
even more, if you want to use curl... I remember that curl can take post data from an input file, so dump the $strXML to a temp file then supply that file to curl. good luck, "Samantha Savvakis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > HI, > > I'm using

[PHP] Re: cURL and POST

2002-08-20 Thread Samantha Savvakis
Thanks for that. I'll look into it. Sam "Lallous" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Try to post it via other than CURL, > > http://Sloppycode.net and search for clsHtmlSource.php > > Good luck, > Elias > "Samantha Savvakis" <[EMAIL PROTECTED]> w

[PHP] Re: cURL and POST

2002-08-20 Thread lallous
Try to post it via other than CURL, http://Sloppycode.net and search for clsHtmlSource.php Good luck, Elias "Samantha Savvakis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > HI, > > I'm using the cURL binary to perform a HTTP POST to a web page. I am sendin

[PHP] Re: CURL and multiple sites at once

2002-03-03 Thread Phillip Oertel
> curl_setopt($ch, CURLOPT_URL, "http://foo.bar.com/page1.html";); > curl_setopt($ch, CURLOPT_FILE, $fh1); > curl_exec($ch); //exec1 > curl_setopt($ch, CURLOPT_URL, "http://foo.bar.com/page2.html";); > curl_setopt($ch, CURLOPT_FILE, $fh2); > curl_exec($ch); //exec2 > curl_setopt($ch, CURLOP

[PHP] Re: CURL functions

2001-12-04 Thread Fred
It would be difficult at best to answer your question without first knowing two things: 1. What did you expect it to do? 2. What did it actually do? Fred Stefan Isarie <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey, > > I'm trying to use CURL for sendi

[PHP] Re: cURL support

2001-09-08 Thread Richard Lynch
Compare your with theirs and see what cURL differences there are... -- WARNING [EMAIL PROTECTED] address is an endangered species -- Use [EMAIL PROTECTED] Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm - Ori