Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | FLASH: All I need is one line of code! Please help - PLEASE!!!!!!!!! |
| From: | Paul Steven |
| Date: | Thu, 20 Apr 2000 11:39:56 +0100 |
Hi all
I need help desparately - I have 2 ours to get this thing sorted b4 the site
goes live.
I am sending some variables from flash to a perl script using the following
actions
Set Variable: "my_score" = 120
Set Variable: "my_name" = Paul
Load Variables ("http://www.clubinlondon.co.uk/scripts/test.pl", 0,
vars=POST)
I have a perl script called test.pl and a text file called scores.txt
located on a server.
I have checked all the permissions and they are all correct.
All I want to do is assign the variables sent from flash to a variable in
the perl script - please can someone tell me what this line of code is.
I have tried the following but it is not working :(
#!/win32app/perl/bin
$data_file = "scores.txt";
$my_name = param('my_name');
$my_name = param('my_score');
open (SCORES_FILE, ">$data_file");
print SCORES_FILE "$my_name\n";
print SCORES_FILE "$my_score\n";
close SCORES_FILE;
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 help
Replies
Re: FLASH: All I need is one line of cod, Helen Triolo
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

