Re: [PHP] Curl with asp pages....

2008-12-17 Thread Benjamin Hawkes-Lewis
Ashley Sheridan wrote: There is a slight difference in how ASP handles multiple form fields that share the same name (as well as SELECT MULTIPLE lists) such that ASP does not need (and should not use) square brackets in field names the way PHP does. Andrew I thought that square brackets were a

Re: [PHP] Curl with asp pages....

2008-12-17 Thread shiplu
On Wed, Dec 17, 2008 at 6:28 AM, ioannes wrote: > shiplu wrote: >> >> On Sun, Dec 7, 2008 at 8:22 AM, ioannes wrote: >> >>> >>> shiplu wrote: >>> When you are dealing with curl, anything can be done as long as its a HTTP request.Its all about sending HTTP headers and content.

Re: [PHP] Curl with asp pages....

2008-12-07 Thread shiplu
On Sun, Dec 7, 2008 at 8:22 AM, ioannes <[EMAIL PROTECTED]> wrote: > shiplu wrote: >> >> When you are dealing with curl, anything can be done as long as its a HTTP >> request.Its all about sending HTTP headers and content. >> >> To parse HTML content you can use HTML parser. Regular expression may

Re: [PHP] Curl with asp pages....

2008-11-28 Thread shiplu
When you are dealing with curl, anything can be done as long as its a HTTP request.Its all about sending HTTP headers and content. To parse HTML content you can use HTML parser. Regular expression may not work each time. Pattern changes over time. Download Wireshark. Collect 2 sample request and

Re: [PHP] Curl with asp pages....

2008-11-28 Thread ioannes
Andrew Ballard wrote: On Fri, Nov 28, 2008 at 9:59 AM, <[EMAIL PROTECTED]> wrote: The one thing that's always tripped me up with ASP sites is that you have to add EVERY input, even the type="submit" with the correct value from the one and only submit button on the page. Again, I thi

Re: [PHP] Curl with asp pages....

2008-11-28 Thread Andrew Ballard
On Fri, Nov 28, 2008 at 10:08 AM, <[EMAIL PROTECTED]> wrote: > >> There is a slight difference in how ASP handles multiple form fields >> that share the same name (as well as SELECT MULTIPLE lists) such that >> ASP does not need (and should not use) square brackets in field names >> the way PHP do

Re: [PHP] Curl with asp pages....

2008-11-28 Thread Andrew Ballard
On Fri, Nov 28, 2008 at 9:59 AM, <[EMAIL PROTECTED]> wrote: > > The one thing that's always tripped me up with ASP sites is that you have to > add EVERY input, even the type="submit" with the correct value from the one > and only submit button on the page. Again, I think that's the ASP.NET part

[PHP] Curl with asp pages....

2008-11-28 Thread ceo
> There is a slight difference in how ASP handles multiple form fields > that share the same name (as well as SELECT MULTIPLE lists) such that > ASP does not need (and should not use) square brackets in field names > the way PHP does. Alas, not only doesn't it need them, it CANNOT use them,

Re: [PHP] Curl with asp pages....

2008-11-28 Thread ceo
The one thing that's always tripped me up with ASP sites is that you have to add EVERY input, even the type="submit" with the correct value from the one and only submit button on the page. Not sure what the ASP code monkeys are doing with their point-and-click UI, but I presume it's just a b

Re: [PHP] Curl with asp pages....

2008-11-28 Thread Ashley Sheridan
On Fri, 2008-11-28 at 01:13 -0500, Andrew Ballard wrote: > On Thu, Nov 27, 2008 at 7:12 PM, ioannes <[EMAIL PROTECTED]> wrote: > > What are the differences between asp and non-asp pages when you are curling > > them? Apart from ,as referred to in php.net, you need to urlencode the post > > values.

Re: [PHP] Curl with asp pages....

2008-11-27 Thread Andrew Ballard
On Thu, Nov 27, 2008 at 7:12 PM, ioannes <[EMAIL PROTECTED]> wrote: > What are the differences between asp and non-asp pages when you are curling > them? Apart from ,as referred to in php.net, you need to urlencode the post > values... Do you also need to urlencode the variable names? And if the

[PHP] Curl with asp pages....

2008-11-27 Thread ioannes
What are the differences between asp and non-asp pages when you are curling them? Apart from ,as referred to in php.net, you need to urlencode the post values... Do you also need to urlencode the variable names? And if the submit button on the page has javascript:WebForm_PostBackOptions, is