[Klone-users] Create request

Mickael Auger mickael.auger at gmail.com
Tue May 26 04:42:18 EDT 2009


Hi,

the "request_get_query_string()" returns the GET data and the POST data. But
this function will be return only the GET data like in PHP.

You can test this example :
====================================
<%
io_printf(out,"QUERY_STRING : %s",request_get_query_string(request));
%><br><br>
<form method="post" action="?varget1=gt1">
<input type="text" name="varpost1" value="pt1" />
<input type="submit" value="Send"/>
</form>
====================================

In this example, request_get_query_string() returns
"varget1=gt1&varpost1=pt1".

2009/5/26 thomas fossati <tho at koanlogic.com>

> Hi Mickael,
>
> On May 26, 2009, at 9:39 AM, Mickael Auger wrote:
>
>> do you have a function to get raw data (without header) to print directly
>> ?
>>
>
>
> take a look at the request_get_*() functions family, perhaps something like
> the following could suit your need:
>
>        io_printf(out, "%s - %s", request_get_uri(request),
> request_get_query_string(request));
>
>
> ciao, t.
>
> _______________________________________________
> Klone-users mailing list
> Klone-users at koanlogic.com
> http://koanlogic.com/cgi-bin/mailman/listinfo/klone-users
>



-- 
Mickaël AUGER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20090526/5b12d70b/attachment.html


More information about the klone-users mailing list