hi all I am trying to create a wordpress plugin where it does 2 things, because its 2 parts to a script
I am trying to create a redirect.php file where it does:
1. rewrites to a separate form in the background -> email form
2. then rewrites back to the wordpress comments/sql
second part
1. rewrites to a seperate form in the background -> email form
2. rewrites to another form -> another email form
3. then rewrites back to the wordpress comments/sql
The first part is the most important, the second part is not of an issue.
I have a script that does the first part, which it rewrites to a database (so it can provide me some stats) and then rewrites the form.
the form method is redirected to the PHP file which brings the user to a blank page while it rewrites to my database and then once its done it rewrites the form attributes and processes the form.
the issue that I have is I do not know how to incorporate it within wordpress as a "plugin" and I also do not want to mess any of my other plugins up
any ideas?