var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Getimagesize memory exhausted?
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11519354 bytes) in
list($game['flashw'][$key],$game['flashh'][$key]) = getimagesize(INT_GAMES . "$value/" . $newname);
How do i get around this?
Suppose the flash file is quite big about 6 megs
In your php.ini change "memory_limit" value to a bigger site than 8 MB, say...32 MB. This value describes maximum amount of memory a script may consume.
If you are running under a shared hosting, paste this line into your .htaccess file:
php_flag php_flag memory_limit "32M"
Hope this will help, bye.
php_flag twice? I think that's incorrect?
You are correct, sorry:
php_flag memory_limit "32M"
since im only getting the height and the width of the swf. Is there anyway to clear the swf from memory after getting width and height?
If i run my code for 20 flash files i would still like it to work