curl-users
Re[2]: submit problem
Date: Fri, 4 Jul 2003 17:22:07 +0200 (CEST)
On Thu, 3 Jul 2003, Brano wrote:
> DS> You need to figure out how that scripting piece works, or you can
> DS> capture your browser's submission and see how it sends it off.
>
> hm, which program can I use, to capture (sniff) which data are sending to
> server ?
Try one of these:
o ethereal (linux/unix/windows) http://www.ethereal.com/
o tcpdump (linux/unix) http://www.tcpdump.org/
o windump (tcpdump for windows) http://windump.polito.it/
o netmon (Windows) part of Windows 2000 Server I believe
There are probably others too, but these are tools I know exist and work.
> yes, it works, without no problems, but I have more complicated
> scripts, and those arent working, for example:
Sorry, I'm not that into javascript to be able to crack that one...
One trick I use to do, is to redirect the URL to one of my own hosts and make
sure the method is GET and then just see what kind of URL the browser
constructs and tries to use.
> Daniel, thanks for superb support!
*bows*
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01Received on 2003-07-04