| Web Design and Hosting Creating sites, scripting, and hosting discussions. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Feb 22, 2006
Location: Bristol, UK
Posts: 318
![]() Mac Specs: MBP, 2.0Ghz, 2GB RAM, 120GB HDD, 1991 Powerbook 100, Gen 2 Nano, Gen 1 Touch
|
Hey guys,
I was wondering if one of you might be able to do me a favor? I building a small website as best I can, and have a form as part of one of the pages. Now i can write the form but not the script to email it to me and forward the viewer to a specific page. Can anyone write me a basic script to do this? I would really appreciate it! I believe it has to be written in perl (???) or php i think? I'm not too hot with this stuff yet. Any help would be great! Thanks Oh...and only pretty girls use Macs... |
| QUOTE Thanks | |
![]() Member Since: Jan 14, 2007
Posts: 101
![]() Mac Specs: 1.67ghz powerbook G4, 1GB RAM, 100GB HD.
|
|
| QUOTE Thanks | |
![]() Member Since: Feb 22, 2006
Location: Bristol, UK
Posts: 318
![]() Mac Specs: MBP, 2.0Ghz, 2GB RAM, 120GB HDD, 1991 Powerbook 100, Gen 2 Nano, Gen 1 Touch
|
I've searched for free scripts but they all seem to contain ads and stuff.
dekan: could you elaborate slightly? i'm not good with php!
Oh...and only pretty girls use Macs... |
| QUOTE Thanks | |
|
Guest
Posts: n/a
|
![]() Make a php page (ex. mail_script.php) with the following; Code:
<?php
$receiver = $_POST['receiver_address'];
$subject = 'Subject of the message here';
$message 'Body of the message here - use HTML and \n for new lines';
$header = 'From: From name <from@address.com>';
mail($receiver, $subject, $message, $header);
echo ('Mail sent message to appear on screen. Maybe add a html link to go back?');
?>
![]() In the HTML form send it to this page and make sure that the address to send to is in a textfield named 'receiver_address'. |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Is the 24" imac "too" big? | pastle | Apple Desktops | 33 | 06-15-2007 12:10 PM |
| Apple "mini" stores: Big breakthrough, or big mistake? | MichaelSullivan | Apple Rumors and Reports | 9 | 03-01-2005 12:57 PM |
| "And that tiny heart grew 3 times as big..." | Absolute Zero | Schweb's Lounge | 14 | 01-13-2005 10:36 PM |
| big, big, huge problem, please help | trp_m | Apple Notebooks | 19 | 11-17-2004 04:49 PM |
| Finally made the BIG SWITCH | jasonbishop73 | Switcher Hangout | 7 | 08-20-2004 03:29 PM |
All times are GMT -4. The time now is 11:06 PM.
Powered by vBulletin