962 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
  • United States
webdesigndeluxe says

Hey everyone I need some quick help one more time :) That’s what I love about this marketplace is the great community helping out others. I’m making a flash program which saves the score. I have a print button in the program that will print out the scores. Can anyone help me create or find one online? I need a simple PHP print function that will print out the scores via flash. Thanks for any help guys!

962 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
  • Has been a member for 5-6 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
  • United States
webdesigndeluxe says

Nobody? :)

409 posts
  • Exclusive Author
  • Has been a member for 4-5 years
  • India
Dhruv says

Though i know PHP , i don’t know how it works with Flash.

To print something you can use,

<?php echo 'Something';

//or

$var = 123;
echo $var;

//or

include("file.txt");

//or

$file = "folder/score.txt";
$contents = file($file); 
$string = implode($contents); 
echo $string; 

//or

$file = "score.txt";
$fh = fopen($file, 'r');

?>

Hope any of these methods work.

Edit : http://www.tizag.com/phpT/fileread.php

by
by
by
by
by
by