[wp-hackers] How to use formand link in plugin development?
haulyn at yahoo.com
Fri Oct 8 01:18:14 UTC 2010
Thanks for your reply, my script is for admin panel, just for administrator.
Location:Room 807,QiLuRuanJianDaSha Qilu Software Park
No. 1 Shunhua Rd High-Tech Development Zone
Jinan, China 250101
Mobile: +86 15854103759
From: Chris Jean <gaarai at gaarai.com>
To: wp-hackers at lists.automattic.com
Sent: Thu, October 7, 2010 9:59:34 PM
Subject: Re: [wp-hackers] How to use formand link in plugin development?
In my humble opinion, you are going about solving this the wrong way around. You
shouldn't have the form send data directly to your script. Rather, you should
have a form submission handler in your code that runs inside WordPress.
To give you an example of this, I'd like to know if you have this form on the
back-end (admin form) or front-end (for a site visitor to fill out).
Chris Jean (AKA gaarai& chrisbliss18)
Coder for http://ithemes.com/
On 10/07/2010 08:31 AM, Haulyn Jason wrote:
> I solve it now, but hard code. Maybe there is a better way?
>> I am developing a plugin, I design a form, but I do not know the form action
>>rule. my form script is slackissspider.php, my logic is
>> slackissspider-action.php. They are in one folder( the plugin folder). Now I
>>can not find any reference to write<form action="??">, the related pathdoes not
>> Any solutions or reference is very useful, Thanks very much.
>> Haulyn Jason
wp-hackers mailing list
wp-hackers at lists.automattic.com
More information about the wp-hackers