Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: *! Receive Data from CGI |
| From: | Alias |
| Date: | Thu, 6 Jan 2000 17:25:18 GMT |
Sven Haiges wrote:
> Hi there,
>
> I would like to receive data (a variable) from a CGI. I know how to call
> the CGI but where shall I "print" the data which is sent back?
>
> Can I simply print it to STDUT?!
>
> print STDOUT "variablename=bla";
>
No, because when flash recieves variables it needs them to be URLencoded
(i.e. space ="%20").
If you're using PHP, the easiest way to do this is to use the urlencode()
function. Urlencoding and
decoding is a fairly trivial part of CGI programming, and many scripts have
been written to handle the
task.--
Alias|Rob
(prpl)x-design for the perplexed
www.prplx.com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
FLASH: *! Receive Data from CGI, Sven Haiges
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

