I don't know if it works without mod_rewrite (pretty URLS), but it works with them turned on. This is the standard code that ships with the contact.php template, doesn't look a thing like what you've described above but works flawlessly.
NOTE this code that is required for the form to work at all:
Code:
<form action="<?php get_page_url(); ?>" method="post" class="contactform" >
<?php set_contact_page(); ?>
<div><b>Name:</b> <input class="text" type="text" value="<?php print($_POST['contact']['name']); ?>" name="contact[name]" /></div>
<div><b>Email:</b> <input class="text" type="text" value="<?php print($_POST['contact']['email']); ?>" name="contact[email]" /></div>
<div><b>Subject:</b> <input class="text" type="text" value="<?php print($_POST['contact']['subject']); ?>" name="contact[subject]" /></div>
<div><b>Message:</b> <textarea class="text" name="contact[body]" ><?php print($_POST['contact']['body']); ?></textarea></div>
<div class="pot" ><input class="text" type="text" value="" name="contact[pot]" /></div>
<div><input type="submit" value="Send Email" id="contact-submit" name="contact-submit" /></div>
</form>
NOTE this code that is required for the form to work at all:
Code:
<?php set_contact_page(); ?>
Pixelita Designs
http://www.pixelita.com
Visit Serbia's biggest and best internet forum!
http://www.burek.com
http://www.pixelita.com
Visit Serbia's biggest and best internet forum!
http://www.burek.com