Friday, March 27, 2009

Fatal error: Allowed memory size of xxx bytes exhausted


Fatal error: Allowed memory size of 8388608 bytes exhausted

1. Edit php.ini file and restarting Apache:

memory_limit = 32M (add the line if it is missing)

2. If you do not have access to php.ini but your webspace is able to handle ".htaccess" files. Edit .htaccess file

php_value memory_limit 32M

3. Put the following line into the PHP source file.


Sunday, March 01, 2009

Embed music into HTML

《bgsound loop="infinite" src=""》《/bgsound》

(Press Esc to stop the music.)