[pmwiki-users] PHP 'Get From Name' queston...

Crisses crisses at kinhost.org
Sun Oct 15 06:09:05 CDT 2006


On Oct 15, 2006, at 6:48 AM, The Editor wrote:

> I've noticed there is a problem due to the extra authentication
> measures taken to tighten up ZAP forms, that multiple forms on a page
> conflict.  To fix it I need to be able to add a form name to each
> form, and then retrieve it when the form is submitted.
>
> I've scoured the php site and couldn't find anything.  Maybe someone
> hear know how to do it...  So if I have :
>
> (:input form name=ThisForm:)
>
> How do I get a hold of "ThisForm" in a recipe when the form is  
> submitted?
>
> Cheers,
> Caveman
Use a hidden variable.

Naming the form probably won't work.

<input name="index" type="hidden" value="value">

$_POST['index'] = value;


I tried but I don't see form name coming through.  It's probably  
there for JavaScript not $_POST variables.

Crisses





More information about the pmwiki-users mailing list