Jump to content

Archived

This topic is now archived and is closed to further replies.

Cheap Commercial

Info to email

Recommended Posts

hi there

what is the php script to send
all info submitted to my email

like

[a href=\"http://www.splices.org/test/wow.php?bob=\" target=\"_blank\"]http://www.splices.org/test/wow.php?bob=[/a]

???
please and thank you in advanced

Share this post


Link to post
Share on other sites
If you want to send yourself everything submitted, do something like this: (Lets say he submitted his name and phone number)
[code]<?php
$to="me@host.com";
$subject="Info";
$msg="Name= ".$_POST['name]."/n Phone number= ".$_POST['tel'];
if(mail($to,$subject,$msg){echo "Mail sent";} else{echo "There was a problem sending your info";};
?>[/code]

Orio.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.