Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP Dynamic Text Generator
#4
Thank you, but I've noticed that I have missed one point and I can't edit the post anymore...

After calling imagepng() one should release the used memory, in many cases this is not really a needed step because the PHP GC does a great work, but it is a good practice;

PHP Code:
imagepng($img);
# and after that call you can free used memory by calling
imagedestroy($img); 

I've written more tutorials on GD, feel free to look for them in PHP category, or just browse through my Threads...
Reply


Messages In This Thread
PHP Dynamic Text Generator - by TalishHF - 01-16-2012, 02:28 AM
RE: PHP Dynamic Text Generator - by Gaijin - 01-16-2012, 02:50 AM
RE: PHP Dynamic Text Generator - by TalishHF - 01-16-2012, 03:04 AM
RE: PHP Dynamic Text Generator - by Gaijin - 01-16-2012, 03:09 AM
RE: PHP Dynamic Text Generator - by AceInfinity - 01-16-2012, 11:00 AM
RE: PHP Dynamic Text Generator - by Gaijin - 01-16-2012, 02:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PHP Framework List: An Ultimate Guide to 102 PHP Frameworks for Web Developers tk-hassan 0 936 07-27-2020, 11:26 PM
Last Post: tk-hassan
  Creating Dynamic images with PHP Gaijin 15 8,193 01-21-2012, 06:17 PM
Last Post: Dube
  How hard would it be to make an signature generator? Extornia 3 1,399 01-11-2012, 08:24 PM
Last Post: Gaijin
  [SF Coders] Password Generator ★Cooldude★ 8 3,101 12-07-2011, 12:42 PM
Last Post: ★Cooldude★
  Use PHP in a text file? Blic 4 1,508 10-25-2011, 08:12 PM
Last Post: Project Evolution

Forum Jump:


Users browsing this thread: 2 Guest(s)