[wp-hackers] How to use formand link in plugin development?
Haulyn Jason
haulyn at yahoo.com
Fri Oct 8 01:18:14 UTC 2010
Hi, Chris,
Thanks for your reply, my script is for admin panel, just for administrator.
Thanks!
http://www.vvthumb.com
Location:Room 807,QiLuRuanJianDaSha Qilu Software Park
No. 1 Shunhua Rd High-Tech Development Zone
Jinan, China 250101
Website: http://www.haulynjason.net
Mobile: +86 15854103759
Haulyn Jason
________________________________
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/
http://gaarai.com/
@chrisjean
On 10/07/2010 08:31 AM, Haulyn Jason wrote:
> I solve it now, but hard code. Maybe there is a better way?
> Thanks!
>
>> 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
>>work.
>>
>> Any solutions or reference is very useful, Thanks very much.
>>
>> Haulyn Jason
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list