A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Flash Forms / CGI

  1. #1
    I'm not afraid Fearless's Avatar
    Join Date
    Jun 2000
    Posts
    351
    I've having some serious trouble with my Flash Forms. I have the script setup, and all the variables ready in the actual movie, but when I send them to the script on the server it says "You are not authorized to view this page".

    In the script I've set permissions for http://www.pixelfusionmedia.com , http://pixelfusionmedia.com , and my ip for the page.

    Any Ideas?

    If not do you have a forms tutorial and cgi that worked for you? I really need to get these working.

    Thanks

    btw what do you guys think of the page so far?

  2. #2
    I'm not afraid Fearless's Avatar
    Join Date
    Jun 2000
    Posts
    351
    No one has a working form on their webpage? c'mon guys throw me some help here.

  3. #3
    fhobia
    Guest
    Hey Fearless,

    What does your cgi script do? Could you explain a little bit more for me?

    Thanks.

  4. #4
    I'm not afraid Fearless's Avatar
    Join Date
    Jun 2000
    Posts
    351
    hey,

    Thanks for your help. =))

    I'm using this tutorial: http://www.were-here.com/forum/tutor...orm/index.html and I've followed it to the letter except for this part:

    "Right click on the script (the copy on the server) and click "Change File Attributes". On the screen that pops up, type 0755 in the "Manual" text box and press OK."

    Because my ftp program - WSFTP LE, doesnt have any option like that. Now when I press the submit button on my site to send the variables, it sends me here: http://www.pixelfusionmedia.com/cgi-bin/ezformml.cgi which is a link to the script that it should be sending to. Instead of the variables going through, I get a "You are not authorized to view this page" error in the browser window.

    so I'm clueless. =/

  5. #5
    fhobia
    Guest
    Hey!

    "Right click on the script (the copy on the server) and click "Change File Attributes". On the screen that pops up, type 0755 in the "Manual" text box and press OK."

    0755 refers to the file permissions! in fact, WSFTP does allow you to set these. However, it lies under the command called "chmod". You can set the permissions to your script two ways...

    with WSFTP, simply right click on the cgi-file in the right window which is the list of files on your server and you should see at the bottom of the menu that popped up "chmod".
    Select that! Then you should see a dialog with three groups: Owner, Group, and Other. Check all the boxes for Owner. Check all the boxes except Write in Group and Other. Then press OK! and thats it.

    you can also do this on telnet by going to the directory of the cgi-script and going "chmod 755 thefilename".

    Simple!
    Good Luck!





  6. #6
    Senior Member
    Join Date
    Jun 2000
    Location
    Sydney
    Posts
    158
    Yo Fearless,

    Are your script and Flash movie on the same server? If not, it won't work. Check this out:

    http://www.macromedia.com/support/fl...s_security.htm

    I tried that same tutorial without much success. I found that the FormMail.cgi from Matt's Script archive works fine. Try this:

    http://www.worldwidemart.com/scripts...formmail.shtml

    Cheers
    Pixelboy

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