|
-
the cheesy child
Php flash save
see this:
<?php
$text = $_POST[sendText];
$myfile = fopen("scores.txt","a");
$fp = fwrite($myfile,$text);
$fp = fwrite($myfile,chr(13));
fclose($myfile);
print "&response=".$text;
?>
i need to know if it will make scores.txt if it is used.
if it doesn't tell me how to make it!
-
http://www.zachsaw.co.cc/?pg=quickph...ester_debugger
test it yourself.
and no it will not make score.txt. It will try to open but not make one. (afaik)
-
the cheesy child
oh man! does anybody know how to make one if it doesn't exist?
you know what i could just switch to plan b: save it all into one shared object on the server.
i know how to use shared objects but i don't know how to make them all save at the one place on the website!!!
unless somebody knows how to make a txt file with PHP i need to know how to share a shared object (not like remotely)
-
I think if you use google search, you could have finish with this a whole lot sooner.
http://sg2.php.net/fopen
read the description for fopen parameter. and I am pretty sure this is a flash help, maybe you should look for php help somewhere?
-
the cheesy child
ok i had a look its pretty good thank you
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|