curl-and-php
Re: need to use ssl or sending wrong data from post?
Date: Thu, 10 Jul 2008 12:31:05 -0500
thank you that was a good reference. after many wrong turns. i'm able to
narrow down what the issue is (sort of). ssl is not the issue here (i
figured t hat but the error threw me off). when i submit to the form, a
popup window opens and closes almost immediately, then a new popup window
displays the results. running this from firefox shows a 200ok and the
correct page. when running from my script i get a 404. i don't believe i
have control over the popup window etc because it all happens after the
post w/out further intervention. my only guess as to why i'm getting a
404 is that i'm missing something that the server wants. i tried to
replicate the headers exactly as displayed in the live http header output
but cannot bypass the 404. (the site uses viewstate which i have hard
coded for now just so i can debug). sorry for the previous confusing
posts. i was running around in circles. based on this new info, does
anybody have some input as to what i can try? ryan
----- Original Message -----
From: "Daniel Stenberg"
To: "curl with PHP"
Subject: Re: need to use ssl or sending wrong data from post?
Date: Thu, 10 Jul 2008 10:38:14 +0200 (CEST)
On Wed, 9 Jul 2008, ryan pal wrote:
> as i continue my progress through the previous issue. it seems
> there are not redirects taking place but rather new popup
> windows. i'm unable to determine if i'm just sending incomplete
> data or if i should be using SSL. the error says:
I think you should go back to reading up on the subject before you
continue down this road:
http://curl.haxx.se/docs/httpscripting.html
-- / daniel.haxx.se
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
-- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-07-10