PDA

View Full Version : Convert .php to .asp


Vman
04-12-2004, 05:47 PM
Anyone got a few minutes to help me convert this php script to asp or point me to a decent tutorial or something. I'm totally lacking in the asp area. Thanks.

<?php
$to = "me@myisp.com";
$msg = "Name: $Namefield\n";
$msg .= "Title: $Title\n";
$msg .= "Company: $Company\n";
$msg .= "Address: $Address\n $City, $State $Zip\n";
$msg .= "Phone: $Phone\n\n";
$msg .= "Email: $Email\n\n";
$msg .= "I am interested in:\n\n";
$msg .= "Conveyor? $conveyor\n\n";
$msg .= "Dock Levelers? $leveler\n\n";
$msg .= "Pallet Rack? $prack\n\n";
$msg .= "Flow Rack? $frack\n\n";
$msg .= "Mezzanines? $mezzanine\n\n";
$msg .= "Lifts? $lift\n\n";
$msg .= "Comments: \n$Comments\n";
mail($to, $subject, $msg, "From: TIG Web Site\nReply-To: $email\n");
?>

Cota
04-12-2004, 11:07 PM
Looks like you're trying to create an email script, here's a link to a good ASP one
http://www.tek-tips.com/gfaqs.cfm/lev2/4/lev3/31/pid/333/fid/2962

Vman
04-12-2004, 11:23 PM
Thanks Cota. Now let's see if I can get it to work! (fat chance)

Cota
04-13-2004, 09:25 PM
Just follow the steps on that page and its as easy as 123.