Skip to main content
October 8, 2007
Question

POSTing submit info to cgi-mailer

  • October 8, 2007
  • 2 replies
  • 262 views
Hello All,

I hope you can help please; I am attempting to POST contact information that someone enters into my contact page of a Flash page. I have attached a screen shot of the ActionScript associated with the Submit button that I have added after the onRelease statement. This doesn’t work but I have left it there to show you what I am trying to do.

I am not sure that I may be trying to do something that can’t be done in this way and must be done through linking to a PHP or HTML page that sends the data to the CGI-Mailer sever.

Would you inform me if this can be done from the flash actionscript and if possible could you give me any advice on what I am doing wrong or point me in the right direction please?

Many thanks in advance, kind regards,

David
This topic has been closed for replies.

2 replies

October 10, 2007
Thank-you for the response is there any chance you could show me how to use the LoadVar?? Script to post to the cgi mailer with the blank page script, the variables _parent???, with the statement “to=rec which seems to be the variable which is set to = c.d.hackett@lboro.ac.uk, my email address.
kglad
Community Expert
Community Expert
October 8, 2007
you can use getURL() but not like that and you'll open a new window after calling your cgi script. you would do better to use loadvariables and even better to use the loadvars class to call your cgi script.