-
The G5 SP
PHP to ASP
is there a way to use ASP to accomplish the same task that PHP does with flash for the contact form.
I want to use
loadVariablesNum
to post variables to asp?
or something like it.
I have the site I am working on on the same network as the people who see it, but I need to get it to send a form through a contact area. Any ideas?
-
FK'n Elitist Super Mod
I haven't tried it, but I thought PHP could run on an ASP server.
Anyone correct me if I am wrong.....please.
-
The G5 SP
The guys here say it is not supported...might be my code.......
Quick link to other thread with code in it
-
The G5 SP
-
Hi,
there have been a couple of ASP mail scripts in the past - just try the search function.
One thing you will notice: where php simply uses mail() to send mail, there are a few different mailers in asp world which require different scripting
Musicman
-
The G5 SP
So it is possible.......cool. I will take a look and let you know. THanks !
-
The G5 SP
One last thing......
If the page with the ASPis on the same network that the viewer is on, will PHP or ASP work mail work?
It is a intranet site, so you go through a webbrowser to get there, but it is still on the same network the CPU is.
Will that wouk? WIth PHP or ASP?
Or does it neeed to be on an actual server?
-
variables: http://www.w3schools.com/asp/asp_variables.asp
forms: http://www.w3schools.com/asp/asp_inputforms.asp
mail: http://www.w3schools.com/asp/asp_send_email.asp
should be about all you need, i learned basic asp today in about 10 minutes, if you know php it's really only a matter of changing syntax for the most part.
-
you can send email with asp and flash..
hehehe.. i am no actionscript writer.. but i think.. i just think, it may be this geturl funciton.. where you can put the url or address of a page in..
so, you basically ask for the mailing script on asp, and add the variables on the flash swf as query strings..
Flash MX + ASP + WinXP Pro
Now Learning PHP & MySQL
-
The G5 SP
BEAUTIFUL !!!!
I will be back if it doesnt work
-
The G5 SP
Ok .....
I have
[asp]
<html>
<body>
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="mymail@mydomain.com"
myMail.To="someone@somedomain.com"
myMail.TextBody="This is a message."
myMail.Send
%>
</body>
</html>
[/asp]
In an ASP file
and I get an error when I go to the page.....
how do I call the script. Does it just run?
Do I need to do more than go to the asp file?
-
well, you have to call the page from inside the flash file..
hmm... i think you can use the "loadVariables" function...
and after you've sent the email from asp... redirect back to the page or to whatever page..
and also... do check if the server you are working with has CDONTS installed... otherwise, ul have to work with other asp mailing scripts out there..
Flash MX + ASP + WinXP Pro
Now Learning PHP & MySQL
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|