PDA

View Full Version : [Q] POST method


atre
03-29-2001, 07:46 AM
I hope to connect a flash movie with a php code
through "POST" method. But, I failed...
please, help me.


I made a simple test movie with

getURL( http://server/cgi-bin/printenv, "_blank", "POST" ).

Executing it, browser shows below ...


REQUEST_METHOD="GET"


There are no settings of variables such as

CONTENT_LENGTH
CONTENT_TYPE


So I estimate Flash doesn't support "POST". Is it right?
hmmm. Tutorials show that getURL or loadVariable support
"POST" method...



Thanks in adv.

Jesse
03-30-2001, 12:43 AM
No, Flash fully supporst POST, and I've used it many times...

getURL ("file.php", "_blank", "POST");

That's all you should need...

Cheers

Jesse