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 wha

[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] 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.)

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: > ... > > */ > > $pf = "AccountID=XX"; ... > $pf .= "&paymentidfilter="; You are missing the "Submit" input, and ASP being ASP, it probably was programmed to expect it, and will puke without it. You also have added a paymen

[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, but

[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 the

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

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 ... > > session_start(); > /* > https://www.e-

[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 wh

[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-19 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: /usr/local/bin/c