Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: return vars from Perl to Flash |
From: | Laura Mollett |
Date: | Tue, 9 May 2000 18:20:03 +0100 |
Hi Helen,
> print "Content-type: text/plain\n\n";
> print "var2fromperl=55&var1fromperl=some text from the program";
If I'm remembering correctly (and I could just be lost), you just had one \n
before and now you have two? I don't really know why it would need another
one, but if it works :)
> (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).
Yeah, it shouldn't need url encoding. The code tells it the mime type
(text/plain). You can "write" html pages in perl on the fly that way too.
Pretty neat :)
Laura
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
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]