962 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+5 more
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
  • Has been part of the Envato Community for over 5 years
  • Has sold $1,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+5 more
webdesigndeluxe says

Nobody? :)

409 posts
  • Has been part of the Envato Community for over 4 years
  • Sells items exclusively on Envato Market
  • Located in 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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by