dmarks83 Posted January 4, 2009 Share Posted January 4, 2009 Hi there, new hear and looking for a little help. Ive just installed wordpress 2.7 for a little project of mine providing blackberry storm wallpapers. basically i want a little form next to the image where user can input their email adress and send it direct to email/blackberry. the form im using is along these lines: <h3 style="margin-bottom: 5px;">Send To Your BlackBerry</h3> <form action="http://www.mysite.co.uk/email.php" method="post"> <input type="hidden" name="wallpaper" value="http://www.mysite.co.uk/wp-includes/images/large/brightcity_big.jpg"> <input type="hidden" name="wpname" value="Bright City"> <p><strong>Enter Your Email Address<br></strong><input type="text" name="email"><input type="submit" value="Send it!"></p> </form> mysite.co.uk is not real site just havnt picked a name yet lol... Basically im looking for the php code for the email.php file as i havnt got the first clue about php hence arriving here. If anyone could help implement this for me im sure i could reimburse you with some advertising space on my site ;-) thanks in advance Link to comment https://forums.phpfreaks.com/topic/139427-wordpress-send-image-to-email/ Share on other sites More sharing options...
dmarks83 Posted January 5, 2009 Author Share Posted January 5, 2009 scrap that the form im using is: <form action="http://www.blackberrystormwallpapers.co.uk/email.php" method="post"> <input type="hidden" name="wallpaper" value="<?php echo get_post_meta($post->ID, "large-image", $single = true); ?>" /> <input type="hidden" name="wpname" value="<?php the_title(); ?>"> <p><strong>Enter Your Email Address<br></strong><input type="text" name="email"><input type="submit" value="Send it!"></p> </form> still looking for help with email.php file ;-) Link to comment https://forums.phpfreaks.com/topic/139427-wordpress-send-image-to-email/#findComment-730196 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.