How to merge Hash
Perl June 29th, 2008
%newHash = (%hash1, %hash2);
หรือในกรณีใช้ hash ที่ return จาก subroutine
%newHash = (sub(), %hash);
Tags: Perl Hash
%newHash = (%hash1, %hash2);
หรือในกรณีใช้ hash ที่ return จาก subroutine
%newHash = (sub(), %hash);
Tags: Perl Hash
Start - Run - Regedit - go to “HKLM\SOFTWARE\PHP\Per Directory Values\”.
Then create keys (If you site folder is default “C:\Inetpub\vhosts\domain.com”:
“C” - “Inetpub” - “vhosts” - “domain.com” - then add string value “register_globals” and set string “on”.
Note:
Also work with other flag e.g. display_errors on
Tags: IIS6, PHP5, Plesk Windows
วิธีแก้ ง่ายมากๆ ให้เติม syntax นี้ลงไปที่ tag img ของ CSS
img {
-ms-interpolation-mode: bicubic;
}
Tags: CSS, IE7, Stylesheet
ขั้นตอน
Tags: Plesk 8.0, Plesk Permissions, Plesk Windows
php_flag display_errors on php_flag magic_quotes_gpc on php_value session.save_path /path/to/tmp
* บรรทัดที่ 3 ใส่เฉพาะ Joomla 1.0.x ในกรณี session save path ขึ้นว่า Unwritable และ /path/to/tmp เป็น absolute path ของโดเมนเรา เช่น /var/www/vhosts/your-domain.com/httpdocs/tmp
Tags: Joomla 1.5