I am editing an open source theme for wordpress for a website (my website is spidr.com.au). The theme has a built in PHP contact form which is connected to feedburner so visitors can subscribe, but I want to change it so the form doesn’t use feedburner; it just sends me an email with the users contact info (i.e. their email) and then has a pop-up window which says “Success!” or something.
How would i edit this code to do so?
<form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=<?php echo of_get_option('csp_feedburner'); ?>', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
<div id="subscribe">
<input type="text" placeholder="<?php echo of_get_option('csp_placeholder_text'); ?>" name="email">
<input type="hidden" value="<?php echo of_get_option('csp_feedburner'); ?>" name="uri"/>
<input type="hidden" name="loc" value="en_US"/>
<input type="submit" value="<?php echo of_get_option('csp_submit_text', 'Notify me!'); ?>" id="submit">
<div class="clear"></div>
</div>
</form>
Thanks for your help guys!