[mod_python] Form data handling (newbie question)

Lukas Linhart almad at include.cz
Thu Nov 25 19:33:05 EST 2004


Hello, 

I'm beginning with mod_python and using mod_python.publisher. 

I've programmed in php before and I'm used to handle large forms in way of 
arrays (tuples): 

<input name="in[0]" value="blabla" />
<input name="in[1] value="blabla" />

I generate form like this in php and then on next page handle it in very 
comfortable way. 

Well, I'm asking if there is any way to handle forms in mod_python like this? 
I expected to work it like this: 

def form_handler(req, *everyURIParams)

but this don't work, as like this:

def form_handler(req, in)

or

def form_handler(req.*in)

I understand why it won't work (problably) and asking if there is any other 
way / workaround / more standard way. 

I'm very thankful for your help. 

Lukas "Almad" Linhart

[:: http://www.Include.cz/ ::]
[:: Including Your wishes ::]
[:: PGP/GNUPg key: http://download.almad.net/pubkey.asc ::]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
Url : http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20041126/36611204/attachment.bin


More information about the Mod_python mailing list