Re: [PHP] PHP CURL JSON POST Firebug

2012-09-09 Thread ioan...@btinternet.com
On 04/09/2012 19:14, ioan...@btinternet.com wrote: On 04/09/2012 18:41, Matijn Woudt wrote: On Tue, Sep 4, 2012 at 7:35 PM, ioan...@btinternet.com ioan...@btinternet.com wrote: I am hoping someone can spot what is missing here. I am getting null result from curl-ing a page with json post

[PHP] PHP CURL JSON POST Firebug

2012-09-04 Thread ioan...@btinternet.com
I am hoping someone can spot what is missing here. I am getting null result from curl-ing a page with json post variables. I try this url in my Firefox browser - http://www.targetsite.com/search.php#somevar.someothervar (#somevar.someothervar are irrelevant, I think, as I get the curl

Re: [PHP] PHP CURL JSON POST Firebug

2012-09-04 Thread Matijn Woudt
On Tue, Sep 4, 2012 at 7:35 PM, ioan...@btinternet.com ioan...@btinternet.com wrote: I am hoping someone can spot what is missing here. I am getting null result from curl-ing a page with json post variables. I try this url in my Firefox browser -

Re: [PHP] PHP CURL JSON POST Firebug

2012-09-04 Thread ioan...@btinternet.com
On 04/09/2012 18:41, Matijn Woudt wrote: On Tue, Sep 4, 2012 at 7:35 PM, ioan...@btinternet.com ioan...@btinternet.com wrote: I am hoping someone can spot what is missing here. I am getting null result from curl-ing a page with json post variables. I try this url in my Firefox browser -

Re: [PHP] I need help with PHP, cURL, and POST

2007-01-03 Thread Richard Lynch
On Tue, January 2, 2007 8:56 pm, Charley wrote: What do you mean about the submit input? I thought that was just a text link to cause the form to be submitted when clicked. I didn't know that it sent anything to the server. (As you can tell, I don't know anything about asp except what it

[PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Charley
I am an experienced programmer who is just learning php and curl. I have tried for several days to figure out how to use curl with POST to get history information from e-gold. The following script, which I guess uses GET works when have appropriate stuff in them. But no matter

Re: [PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Jochem Maas
Charley wrote: I am an experienced programmer who is just learning php and curl. ... Would someone be interested in showing me exactly what I need to modify this script to work with POST? the interest is 10%/week ;-) ... read on ... ?php session_start(); /* form

RE: [PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Ligaya A. Turmelle
@lists.php.net Subject: [PHP] I need help with PHP, cURL, and POST I am an experienced programmer who is just learning php and curl. I have tried for several days to figure out how to use curl with POST to get history information from e-gold. The following script, which I guess uses GET works when

[PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Charley
To Ligaya and Jochm, Thanks for your answers. I have read and tried what several tutorials say to do. I have used both arrays and query strings to specify the post fields. I had not seen the tutorial Ligaya mentioned, but it was not essentially different from the others I have seen. And

[PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Charley
I apologize for the previous message. This one should wrap better. To Ligaya and Jochm, Thanks for your answers. I have read and tried what several tutorials say to do. I have used both arrays and query strings to specify the post fields. I had not seen the tutorial Ligaya mentioned,

Re: [PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Richard Lynch
On Tue, January 2, 2007 9:23 am, Charley wrote: input type=hidden name=AccountID value=XX ... input type=submit value=Submit */ $pf = AccountID=XX; ... $pf .= paymentidfilter=; You are missing the Submit input, and ASP being ASP, it probably was programmed to

[PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Charley
Richard, Thanks for your answer. What do you mean about the submit input? I thought that was just a text link to cause the form to be submitted when clicked. I didn't know that it sent anything to the server. (As you can tell, I don't know anything about asp except what it stands for.)

[PHP] I need help with PHP, cURL, and POST

2007-01-02 Thread Charley
It works! All I did was comment out the curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1) and set up the post and post fields options. I used the query string format. I may try the array later, but since this works, I'm going to use it for now. Thanks everybody! -- PHP General Mailing List

[PHP] Curl and post

2002-11-11 Thread John Meyer
I need to send a post array to another page. How do I do this using CURL? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cURL and POST

2002-08-20 Thread Samantha Savvakis
HI, I'm using the cURL binary to perform a HTTP POST to a web page. I am sending XML data to this web page. The issue I've come up against if the size of the data that I'm trying to post and it looks like cURL is crapping out. This is the command line that I'm currently using: