Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: return vars from Perl to Flash
From: Rebecca Lovelace
Date: Tue, 9 May 2000 14:55:24 +0100

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;

If you want a string within a string, maybe single quotes within double
quotes, I'm not really sure.

Hope this helps....make any sense?

Rebecca

-----Original Message-----
From: Helen Triolo [designerati-technica [dot] com (mailto:designerati-technica [dot] com)]
Sent: Tuesday, May 09, 2000 9:26 AM
To: Flashers
Subject: FLASH: return vars from Perl to Flash


Any Perl scripters out there? I sent this a couple weeks ago and never
got a response--thought I'd try one more time just in case someone
knows...

Could someone give me the correct 2 lines to return two variables to
Flash from a Perl script. The following doesn't seem to work:

print "Content-type: text/plain\n\n";
print "ivar=5&svar='string of text'";

Is that the right content-type? And how do you include a string of
text, especially if it includes non-URL-encoded chars like spaces?

Thanks in advance,
Helen
----------------------------------------
helen triolo � http://i-technica.com
designerati-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 helpatchinwag [dot] com

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 helpatchinwag [dot] com

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 helpatchinwag [dot] com


Replies
  Re: FLASH: return vars from Perl to Flas, Helen Triolo

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]