What I usually do is: I have got an apache server running on my machine, locally, with PHP and mySql support. First I need a PHP-Page running in a Browser window. Then I take a HTTP Client written in Blitz and try to emulate the browser. (I've posted a POST example in the Code Archives).
To find out what the browser actually has to do/send, I also use a HTTP Server written in Blitz. This way I can see plain text of what eg. Firefox is sending to the server.
Or you may of course use a packet sniffer instead and simply read the content of the communication.
Basicly all Protocols and Transfer Technologies used in the Web are defined in a RFC that can be found at http://www.iana.org/protocols/. ( iana.org is the real deal, the origin of the whole stuff) You may also browse the w3 consortiums server: http://www.w3.org/
Of course, it takes some time to read trough all those RFCs and find the thing you want to know. So sometimes it's easier to hack the required information, as explained at the beginning of this post, using a fake browser and a fake server.
And of course there are also many open source projects that may already do what you want, or contain the infos you need.
|