Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 05-16-2005, 11:24 AM   #1
padone
Registered User
 
Join Date: Dec 2004
Posts: 168
Unhappy help with save to php

Hi

I have 3 simple input txt fields in my movie one for your name, email, and just a message.

Now in flash I have all on the same keyframe the 3 text fields called name, email and besttime and a button with this code on it..
ActionScript Code:
on(release){ loadVariablesNum ("try.php", 0 ,"POST");}

then I have a php file called try.php with this in it
PHP Code:
<?php
$data
="test.txt";
$fpfopen($data"w+");
$fwfwrite($fp,"$QUERY_STRING");
fclose($fp);
echo 
"status=Done"
?>
I was told that this should work fine but the thing is it doesnt seem to right anything to my txt file do i need anything else in the flash,php or even in the txt file???

Last edited by CyanBlue; 05-16-2005 at 02:30 PM. Reason: PHP tag is applied
padone is offline   Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Q] How to Save Text File in Flash??? CyanBlue Other Flash General Questions 7 03-12-2012 09:16 AM
Problem with AS and PHP, have to click button twice to return variable from php jetgrind ActionScript 2.0 5 10-19-2005 07:43 AM
txtArea, PHP, XML, and CSS: Nothing I do formats the text PhishIn4Dmb Components 0 09-22-2004 03:16 PM
major problem with flash & php niobi xd Server-Side Scripting 3 09-20-2003 04:48 AM
Sending Flash variables to PHP alphabug Other Flash General Questions 1 08-02-2003 02:10 AM


All times are GMT. The time now is 09:23 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.