PDA

View Full Version : Sending parameters to a script


ikkon
07-25-2007, 09:37 PM
I have a flash file that sending parameters to a perl file

the problem is when I hit the submit file that send the parameters to the perl file I get a error saving the URL was to long for the server, which seems like a GET however I am using POST

the flash file is a exe so the file would be local to the user.

anyIdeas on what I can do to get around this besides trimming the parameters?

postData.send("http://pub.alinean.com/cgi-bin/report.pl", "_blank", "POST");

this is the send script I am using

CyanBlue
07-25-2007, 09:52 PM
If you are testing that within the Flash IDE, Flash only emulates GET, so POST has no effect... But since you are going for the EXE, you'd need to create a projector and then test your script to see if it really works... ;)

ikkon
07-25-2007, 09:58 PM
I was testing in the exe file, still the same error