Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: return vars from Perl to Flash |
From: | Helen Triolo |
Date: | Tue, 9 May 2000 18:09:44 +0100 |
Rebecca Lovelace wrote:
>
> I don't know Perl too well, but when I returned data from Flash I did:
> print "Content-type: text/html\n\n";
>
> and that worked.... I'm not sure what you are doing on the second
> line....(again, I don't know Perl too well, I can use it to do simple
> things).
> Here's what I did to return values:
> print "value1=".$vote1."&";
> print "value2=".$vote2;
>
Thanks Rebecca. I appreciate your response, which made me think I
couldn't be too far off--still not sure what I was doing wrong before,
but it worked when I went back and tested just now. Here's what I used
in case anyone else ever wants to pass things back from perl:
print "Content-type: text/plain\n\n";
print "var2fromperl=55&var1fromperl=some text from the program";
(I used plain instead of html because I'm just passing text, not html
page content. And it looks like the string doesn't need anything
special around it--it printed in Flash just the same as it appears in
the string, without any special url encoding or anything).
Helen
----------------------------------------
helen triolo � http://i-technica.com
designeri-technica [dot] com � 301-424-6037
----------------------------------------
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
RE: FLASH: return vars from Perl to Flas, Rebecca Lovelace
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]