Find Jobs
Hire Freelancers

258550 PHP to ASP code

N/A

Đã hoàn thành
Đã đăng vào hơn 15 năm trước

N/A

Thanh toán khi bàn giao
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.
Mã dự án: 2004820

Về dự án

1 đề xuất
Dự án từ xa
Hoạt động 12 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
hi, plz check [login to view URL] you
$40 USD trong 0 ngày
5,0 (369 nhận xét)
6,2
6,2

Về khách hàng

Cờ của
5,0
6
Thành viên từ thg 10 5, 2008

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.