so here goes,
the point is, i have created an order form in flash cs3 with actionscript 3.0, and my lecture wants my flash to be working with PHP, so if i click the submit button, my flash will load the PHP file and created a .TXT file in the directory(offline) which includes the information of the order form!
i've already research for this problem, but all i got is a script to send email from a form! i need something that can be working offline to show it to my lecture..
maybe the php script would be something like this example,
but i still need help from the master please!<?php
$File = "YourFile.txt";
$Handle = fopen($File, 'w');
$Data = "Jane Doe\n";
fwrite($Handle, $Data);
$Data = "Bilbo Jones\n";
fwrite($Handle, $Data);
print "Data Written";
fclose($Handle);
?>thanks!! i have to collect it tomorrow (GMT+7!) !! :worship:



thanks!! i have to collect it tomorrow (GMT+7!) !! :worship:
Reply With Quote


Bookmarks