0
我試圖在Wordpress頁面中實現自定義窗體。我已經設置形式起來像這樣:Wordpress和GAE中的自定義窗體處理
<form method="POST" action="/handleForm.php">
<input type="text" name="userName" />
<input type="submit" />
</form>
handleForm.php:
echo($_POST['userName']);
echo('Fire');
app.yaml中(除了默認的WordPress的東西在裏面):
- url: /handleForm.php
script: handleForm.php
handleForm.php
文件位於app.yaml
文件旁邊的根文件夾中。
當我提交表單時,它會轉到正確的URL,但沒有任何反應......我期待它至少echo
至少Fire
。對此有何看法?我是否錯過了Wordpress
或GAE
?