Re: RabbitWeb and Query String support....?
"markreds81" <[email protected]>
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <[email protected]> |
Hi Rhys, I'm programming in DC 9.62 and you can perform very simple query strings like http://host/resource.html?A=1&B=2&C=3 but this is limited to integer (16 bit signed) values. You can get these values in your cgi function via the http_getCond() C function (see help of this API for details and Rabbit TCP/IP user manual volume 2). But if you need something more sophistycated you have to pass your parameters via POST (not GET) in application/form-url-encoded HTML forms, if you use old cgi style function (SSPEC_RESOURCE_FUNCTION), or in multipart/form-data if you use new style cgi function (SSPEC_RESOURCE_CGI). I hope this can helps you. Regards, Marco --- In [email protected], "Rhys' Micro Foundry" <rhysmicrofoundry@...> wrote: > > Hi All, > > > > I have a project that I am attempting to use Query Strings to pass info > between HTML pages - a very common HTML practice - but it seems that > RabbitWeb/HTTP/tcpip in DC (10.70) doesn't support them. I tried a few > work-around techniques suggested by the vendor - but they complicate the > code both pages and C application and cause page-navigation and mutli-user > issues. > > > > So, I am thinking about adding QS support into the RabbitWeb distribution > code. Anybody have any suggestions or comments about how to approaching > this task? Things to watch out for? Has anybody done this already? > > > > Thanks, > > Rhys > > > > PS: Has anybody besides me run up against this issue? > > > > System Details: > > Dynamic C 10.70 > > Rabbit RCM67xx >