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
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
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 -
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 -
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
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
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
@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
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
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,
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
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.)
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
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
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:
15 matches
Mail list logo