A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: AAUUUGH! doesn't work on pc

  1. #1
    Member
    Join Date
    Aug 2000
    Posts
    66
    i have a survey in flash with the results sent to me in email (POST). when i test on a macintosh and on linux i get the results within minutes. when i test on a pc (many different ones) the results never come to me. this is certainly odd.

    i have posted my code:
    Code:
    on (release) {
        loadVariables ("/cgi-bin/FormMail.pl", this, "POST");
        gotoAndStop ("Final Scene -- Results", 1);
    }
    and it appears correct. i have the recipient set to my email address and it works on the other machines. i have the subject set and it appears correctly in the email. however, the from never shows up. i have the following defined in file:
    Code:
    from = "alds@aldsonline.net";
    when the email does arrive, the from always shows up as: ()
    that is a ( and a ). does anyone know why this is or if this could make a difference? TIA.

  2. #2
    Member
    Join Date
    Aug 2000
    Posts
    66

    windows bug

    apparently, there is a bug in windows flash (FormMail is the version from mattscriptarchive).

    response from my host: [blue]
    OK, I spent some time looking into this and I see what the problem is.

    When FormMail receives a request, it checks the referring page to make
    sure that this request came from a legitimate server (for example, it's
    okay to send mail if the previous page was on aldsonline.net, but not if
    it came from joespammer.com, because otherwise joespammer could use the
    form to send mail to multiple random people). The thing submitting the
    form (usually a Web browser, but in your case the Flash script) is
    responsible for sending the name of the referring page.

    I did some debugging with your scripts and with FormMail, and found that
    when your Flash script is run on Mac or Linux machines, Flash is sending
    a referrer correctly. But when it's run on Windows machines, it's sending
    a blank referrer. This is causing FormMail to reject the input with an
    error, but because you're not parsing the results from FormMail, you
    aren't noticing it. It looks like a bug in the Windows version of Flash.

    Unfortunately, there is no way to get back the lost data that has been
    submitted; I'm very sorry about that. I can tell you that according to
    the logs, since 6 PM Pacific last night, only 2 people have used
    FormMail.pl for aldsonline.net with Windows computers -- perhaps those
    were your tests and you didn't lose anything?

  3. #3
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    any test results with a different browser on windows? I cant believe that netscape-style flash players on different systems would behave much different, so it is once again IE...
    BTW: it is possible to disable the referer check in matt's script - get the source and have look at it. Unfortunately some providers have changed formmail so that referrers can not be set by yourself, but are somehow read from a list of all websites with a given ISP
    Now you got a website (and obviously a good server as well, others would not take the effort to check logs for you) but no chance to get mail results? Would that host be willing to install a special script for you on an extra fee?
    Otherwise, see the 'mail via other domain' article at http://www.neurlust.com/~mingdocs

    Musicman
    [Edited by Musicman on 10-19-2001 at 06:00 PM]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center