Multimedia
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignMultimedia

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old June 1st, 2005, 07:30 AM
padone padone is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 10 padone User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 30 m 43 sec
Reputation Power: 0
flash asp mail form

has anyone got a working version of a flash form that uses asp to send because
I have read tut after tut and still cant get it to work i have also downloaded
loads of fla files with the asp in and still i fail to get it to work

this is my asp

PHP Code:
<%
strHost "mail.t2euk.com"
If Request("Send") <> "" Then
Set Mail 
Server.CreateObject("Persits.MailSender")
Mail.Host strHost
Mail
.From Request.Form("youremail"
Mail.FromName Request.Form("yourname"
Mail.AddAddress Request.Form("theiremail")
 
Mail.Subject "GT Karting Challenge"
 
Mail.Body Request("tmessage")
strErr ""
bSuccess False
On Error Resume Next 
Mail
.Send 
If Err <> 0 Then 
     strErr 
Err.Description
else
     
bSuccess True
End 
If
End If
Response.Write "writing=Ok"
%> 


and this is on my first keyframe

PHP Code:
 submit.onPress = function(){
if(
yourname.text!="" && yourtime.text !="" && youremail.text!=""){
myData.yourname yourname.text
myData
.yourtime yourtime.text
myData
.youremail youremail.text
myData
.sendAndLoad("mail.asp"myData"POST")
}
}
myData = new LoadVars()
myData.onLoad = function(){
if(
this.writing=="Ok") {
gotoAndPlay(26)
status.text "Challenge Sent"
}
else 
status.text "Error sending challenge"
}
stop(); 

Reply With Quote
  #2  
Old June 1st, 2005, 07:44 AM
Lafinboy's Avatar
Lafinboy Lafinboy is offline
The Laughing Moderator
ASP Free Loyal (3000 - 3499 posts)
 
Join Date: Apr 2004
Location: Sydney, Australia
Posts: 3,263 Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)Lafinboy User rank is Sergeant (500 - 2000 Reputation Level)  Folding Points: 29199 Folding Title: Starter FolderFolding Points: 29199 Folding Title: Starter Folder
Time spent in forums: 2 Weeks 1 Day 10 h 35 m 51 sec
Reputation Power: 15
Send a message via ICQ to Lafinboy Send a message via AIM to Lafinboy Send a message via MSN to Lafinboy Send a message via Yahoo to Lafinboy Send a message via Skype to Lafinboy
Your mailing script hasn't got a mail.to variable set. Do you have the Persits.MailSender com installed on your server? Have you tested the asp on it's own to make sure the mailing part works before trying to hook into it with Flash?

Reply With Quote
  #3  
Old March 12th, 2008, 07:55 AM
fisch79 fisch79 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 1 fisch79 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 m 56 sec
Reputation Power: 0
I know this thread is old, but if anyone is out there googling and needing the source of a nice flash asp contact form can go to flashden (dot) net and search for "asp contact form" .. you should find a good file with the source

Reply With Quote
  #4  
Old June 9th, 2008, 04:50 AM
thomasz thomasz is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 10 thomasz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 53 m 56 sec
Reputation Power: 0
Where can i insert PHP code?

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignMultimedia > flash asp mail form


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway