如何POST數據在appspot我是新的WordPress的。我有一個WordPress的網站,管理員可以在其中添加post.But,當他添加一篇文章時,GET方法提交也應該做到appspot http://jhal-muri.appspot.com/sendAll?emailId=emailid&mssg=msg
。如何在管理員添加WordPress的帖子
我該怎麼做?我知道我必須更改wordpress管理面板中的add_post選項,但我不知道該怎麼做。
如何POST數據在appspot我是新的WordPress的。我有一個WordPress的網站,管理員可以在其中添加post.But,當他添加一篇文章時,GET方法提交也應該做到appspot http://jhal-muri.appspot.com/sendAll?emailId=emailid&mssg=msg
。如何在管理員添加WordPress的帖子
我該怎麼做?我知道我必須更改wordpress管理面板中的add_post選項,但我不知道該怎麼做。
爲WordPress
你可以聲明形式POST
。然後,構建您的URL字符串爲http://jhal-muri.appspot.com/sendAll?emailId=emailid&mssg=msg
,其中emailId
和mssg
參數將自動變爲GET
。其餘的input
名稱和值將變成POST
。
示例代碼
<form method="post" acion="http://jhal-muri.appspot.com/sendAll?emailId=emailid&mssg=msg">
<input type="text" value="" name="emailId" />
<input type="text" value="" name="msg" />
<input type="submit" name="submit" value="Send All" />
</form>
JSP和Servlet從何而來?我使用wordpress-它是PHP。我沒有appspot的配置問題。我只需要修改wordpress的後端。我該怎麼做? –
你說得對。以下是您可以爲Wordpress發佈的示例表單。 –
順便說一句,從我看到你的服務器,它似乎並沒有收到POST。 –