Completed

348201 convert formail script to perl

I have created a site in flash that uses a php script to send the form results and this works perfectly... BUT now i found out the client dose not have PHP on thier webserver...

So I need these 2 scripts written in php (they are very similar) converted to perl so i do not have to change my flash code....

SCRIPT 1

<?php

$sendTo = "andrew<AT>[url removed, login to view]";

$subject = "[url removed, login to view] contact form";

$headers = "From: " . $_POST["text1"];

$headers .= "<" . $_POST["text2"] . ">\r\n";

$headers .= "Reply-To: " . $_POST["text2"] . "\r\n";

$headers .= "Return-Path: " . $_POST["text2"];

$message = "Name: " . $_POST["text1"] . "\n";

$message .= "Email: " . $_POST["text2"] . "\n";

$message .= "Phone: " . $_POST["text3"] . "\n";

$message .= "Comments: " . $_POST["text5"] . "\n";

mail($sendTo, $subject, $message, $headers);

?>

SCRIPT 2

<?php

$sendTo = "andrew<AT>[url removed, login to view]";

$subject = "[url removed, login to view] newsletter form";

$headers = "From: " . $_POST["text1"];

$headers .= "<" . $_POST["text2"] . ">\r\n";

$headers .= "Reply-To: " . $_POST["text2"] . "\r\n";

$headers .= "Return-Path: " . $_POST["text2"];

$message = "Name: " . $_POST["text1"] . "\n";

$message .= "Email: " . $_POST["text2"] . "\n";

$message .= "Newsletter: " . $_POST["text7"] . "\n";

mail($sendTo, $subject, $message, $headers);

?>

Skills: Anything Goes, Perl

See more: formail perl, return path, need to flash my phone, net perl, php script path, php name _post name email _post email message, convert php form, script contact form, perl email subject, perfectly written, convert scripts php php, script phone website, form convert, perl convert code, convert flash net, perl webserver, convert php net code, convert flash website php website, newsletter php script, php perl convert

About the Employer:
( 86 reviews ) Newnan, United States

Project ID: #2094026

Awarded to:

tuxadminsl

Can be done within 30mn.

$15 USD in 0 days
(4 Reviews)
2.7