Find Jobs
Hire Freelancers

258550 PHP to ASP code

N/A

Selesai
Disiarkan lebih dari 15 tahun yang lalu

N/A

Dibayar semasa penghantaran
I have a Flash movie that has an embedded "email a friend" function. When a user completes the form to "email a friend", it uses a php script to actually send the email to the friend and also copy a 3rd party: Below is the current php code used: (I had to change the email at symbol to the word "at" in this posting.) <? // This defines the variables $email1 = $_POST["email1"]; $email2 = $_POST["email2"]; $msg = $_POST["msg"]; $toMail = "info(at)[login to view URL]"; $Subject = "Business Shorts Solutions Movie"; $Message = "$email2 would like to you to view this 3-minute movie about Business Shorts Solutions\n\n$msg\n\nYou can view the movie by clicking on the following link: [login to view URL]"; // This line sends the email mail("$toMail", $Subject, $Message, "From: $email1"); mail("$email1", $Subject, $Message, "From: $email1"); // This next line returns a success message to the movie. print "Status=Your email has been sent!"; ?> Here my pretty urgent need: The hosting environment for the flash movie will not be running PHP so I need a ASP version of this script. I have done this before with a simple info request form… as you can see below – maybe it will help you think through it. HERE IS A SAMPLE FROM A SIMILAR FORM IN THE PAST: PHP: <?php $sendTo = "info(at)[login to view URL]"; $subject = "Contact Form"; $message = "Name : " . $_POST["name1"] . "\nCompany name : " . $_POST["company1"] . "\nEmail : " . $_POST["email1"]; mail($sendTo, $subject, $message, "From: Business Shorts"); ?> ASP VERSION of SAME SCRIPT: <% Set myMail=CreateObject("[login to view URL]") myMail.Subject="Business Short Lead" myMail.From="info (at)[login to view URL]" myMail.To="info (at)[login to view URL]" myMail.TextBody="Prospect Name: " & request("name1") & VBCRLF & "Company: " & request("company1") & VBCRLF & VBCRLF & "Email Address: " & request("email1") [login to view URL] _ ("[login to view URL]")=2 'Name or IP of remote SMTP server [login to view URL] _ ("[login to view URL]") _ ="[login to view URL]" 'Server port [login to view URL] _ ("[login to view URL]") _ =25 [login to view URL] [login to view URL] set myMail=nothing %> I realize the swf will need to call the asp version of the script (instead of the php) and I can take care of that. Please let me know if you can do this and if you are interested as soon as possible.
ID Projek: 2004820

Tentang projek

1 cadangan
Projek jarak jauh
Aktif 12 tahun yang lalu

Ingin menjana wang?

Faedah membida di Freelancer

Tetapkan bajet dan garis masa anda
Dapatkan bayaran untuk kerja anda
Tuliskan cadangan anda
Ianya percuma untuk mendaftar dan membida pekerjaan
Dianugerahkan kepada:
Avatar Pengguna
hi, plz check [login to view URL] you
$40 USD dalam 0 hari
5.0 (369 ulasan)
6.2
6.2

Tentang klien

Bendera
5.0
6
Ahli sejak Okt 5, 2008

Pengesahan Klien

Terima kasih! Kami telah menghantar pautan melalui e-mel kepada anda untuk menuntut kredit percuma anda.
Sesuatu telah berlaku semasa menghantar e-mel anda. Sila cuba lagi.
Pengguna Berdaftar Jumlah Pekerjaan Disiarkan
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuatkan pratonton
Kebenaran diberikan untuk Geolocation.
Sesi log masuk anda telah luput dan telah dilog keluar. Sila log masuk sekali lagi.