I'm writing a php contact from using a PHP book. Its seems to work well, the contact form is located on one page, the user submits info and fires a new script that checks the content. I can't however get this to work with wordpress....i've made the first contact form script into a template which has become my contact us page. The second script will not work as another template. I cant link the two together.
Ive tried trying to put both scripts on one page but the $_SERVER['php_self'] command will not work. It either returns to the site root or won't find (404) the other script.
Its generally doing my head in, any ideas? I really want to learn this, not use a plug in. I understand what the php script is doing so this has become very frustrating.
Any help is appreciated, Dan