MyBB Community Forums

Full Version: How would I make a form API?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok, I'm wanting to make a spammer database, with a HTML form to fill in IP, email, usernames etc, and a mybb plugin to submit to the form. However I want to it to execute the form on a remote server (containing the database) in the background. I don't want it to navigate to the page - simply execute the form and post a response back to the ModCP in mybb

Any ideas?
Plugin Idea: Awesome

However, I couldn't help you with the coding. But, I do think it would be possible for the Plugin to connect to the Database like MyBB does. You would just need to code it into the plugin to use the other database, without changing the MyBB Settings.
Im thinking HTTP POST is the way to go Smile

XML, found a php class online that handles this kinda querying Big Grin
Hey Tommyk,
Is it working out well? Can you share the link, please?

(2010-06-16, 04:55 PM)Tommyk Wrote: [ -> ]...XML, found a php class online that handles this kinda querying Big Grin

If you need a second option Form Tools has an API:
execute the form on a remote server
Form tools does that, no API needed.
and post a response back to the ModCP in mybb
ft_api_get_submission

http://docs.formtools.org/api/?page=ft_a...submission
// Form tools is free software, not a hosted "service".