php - Custom Form Handling in Wordpress and GAE -
I am trying to impliment a custom form in a WordPress page, I have set up the form and in this way :
& lt; Form method = "POST" action = "/ handleForm.php" & gt; & Lt; Input type = "text" name = "userName" /> & Lt; Input type = "submit" / & gt; & Lt; / Form & gt;
handleForm.php:
resonance ($ _ POST ['username']); Echo ('fire');
app.yaml (except for the default Wordpress stuff):
- url: /handleform.php script: handleForm.php < / Pre> handleForm.php
file app.yaml
is in the root folder next to the file.
When I submit the form, it goes to the correct URL, but nothing happens ... I have it at least fire
on echo
I hope Is there any information about what is happening here? Do I remember something about Wordpress
or GAE
additional
.php
should be in the root / wordpress
folder and prefixed with wp -
. For example: root / wordpress / wp-handleForm.php
then verb {/ code>
attribute tag of the form
to / code> /wp-handleform.php
.
should be set as
Comments
Post a Comment