php-general | 2000071
Date: 07/13/00
- Next message: Bill Zeller: "[PHP] pdflib anyone?"
- Previous message: Ed Vul: "[PHP] Javascript"
- Next in thread: Hans H. Anderson: "Re: [PHP] (newbie) Flash->PHP->.txt?"
- Reply: Hans H. Anderson: "Re: [PHP] (newbie) Flash->PHP->.txt?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi...
I'm a longtime Flash developer who is just starting to explore server-side
scripting as a means of extending Flash's capabilities. I have a problem
which I'm sure is incredibly simple, but I don't have enough knowledge of
PHP to figure it out. Inside my flash movie is a user-defined variable
("color"). What I need is a php script that, when a submit button is
clicked, will receive the flash variable and write it to a .txt file as
color=value. I think I need something along these lines, but I'm really just
flailing here...
<?php
$data="flash.txt";
$fp= fopen($data, "w+");
$fw= fwrite($fp,$color);
fclose($fp);
?>
Any help would be greatly appreciated...
K.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bill Zeller: "[PHP] pdflib anyone?"
- Previous message: Ed Vul: "[PHP] Javascript"
- Next in thread: Hans H. Anderson: "Re: [PHP] (newbie) Flash->PHP->.txt?"
- Reply: Hans H. Anderson: "Re: [PHP] (newbie) Flash->PHP->.txt?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

