วันจันทร์ที่ 31 ตุลาคม พ.ศ. 2554

php error header & session แสดงภาษาไทย

ให้ session_start(); อยู่บนสุด

ob_start();  ปิดด้วย ob_end_flush(); ท้าย

เซฟไฟล์ เป็น utf-8 with out BOM (ใช้ Notepad++ ได้)

วันอาทิตย์ที่ 23 ตุลาคม พ.ศ. 2554

การจัดการ Session (Session Management) โดยใช้ PHP

credit : วรวิสุทธิ์ ภิญโญยาง (worawisut@yahoo.com) 
http://www.arip.co.th/articles.php?id=404068

วันเสาร์ที่ 22 ตุลาคม พ.ศ. 2554

GOD Mode Windows 7

วิธีทำ GodMode ใน windows 7

สร้างโฟล์เดอขึ้นใหม่ที่หน้าจอแล้วเปลี่ยชื่อเป็น GodMode.{ED7BA470-8E54-465E-825C-

99712043E01C}

credit :  DEGKORAT

วันจันทร์ที่ 17 ตุลาคม พ.ศ. 2554

127.0.0.1

127.0.0.1 activate.adobe.com
127.0.0.1 practivate.adobe.com
127.0.0.1 ereg.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 wip3.adobe.com
127.0.0.1 3dns-3.adobe.com
127.0.0.1 3dns-2.adobe.com
127.0.0.1 adobe-dns.adobe.com
127.0.0.1 adobe-dns-2.adobe.com
127.0.0.1 adobe-dns-3.adobe.com
127.0.0.1 ereg.wip3.adobe.com
127.0.0.1 activate-sea.adobe.com
127.0.0.1 wwis-dubc1-vip60.adobe.com
127.0.0.1 activate-sjc0.adobe.com


127.0.0.1 www.nero.com
127.0.0.1 www.nero.com/rus/index.html
127.0.0.1 www.nero.com/rus/support.html
127.0.0.1 www.nero.com/rus/support-customer-service-product-registration.html
127.0.0.1 www.nero.com/rus/store-upgrade-center.html
127.0.0.1 www.nero.com/rus/store-volume-licensing.html
127.0.0.1 www.nero.com/eng/support.html?NeroSID=392cba06859c3dcd87b47525e97a3b80
127.0.0.1 www.nero.com/eng/store-upgrade-center.html?NeroSID=392cba06859c3dcd87b47525e97a3
­b80
127.0.0.1 www.nero.com/eng/support-customer-service-product-registration.html?NeroSID=392c­ba06859c3dcd87b47525e97a3b80
127.0.0.1 www.nero.com/eng/index.html
127.0.0.1 www.nero.com/eng/store-upgrade-center.html&sa=X&oi=smap&resnum=1&ct=result&cd=6&­usg=AFQjCNFRzc_q0umeKlIj7pPYNNBYCFbXkg
127.0.0.1 www.nero.com/enu/support-nero8.html
127.0.0.1 my.nero.com
127.0.0.1 secure.nero.com/us/secure.asp
127.0.0.1 activation@nero.com
127.0.0.1 registernero.com
127.0.0.1 www.registernero.com
127.0.0.1 nero.com
127.0.0.1 www.nero.com/eng/privacy.html.
127.0.0.1 legal@nero.com
127.0.0.1 support.nero.com

Lock Desktop Icon

Lock Icon ทั้งหมดในบริเวณหน้าจอบน Desktop
1.start > regedit
2.HKEY_CURRENT_USER>Software>Microsoft>Windows>CurrentVersion>Policies>Explorer
3.จากนั้นคลิกขวาที่ Explorer แล้วเลือกคำสั่ง New>Binary Value
4.ตั้งชื่อ NosaveSettings
5.ดับเบิลคลิกที่ NosaveSetting
6.พิมพ์ค่าเป็น 10 00 00 00 แล้วคลิกปุ่ม Ok
7.ให้ Boot เครื่องใหม่ โดยการคลิกปุ่ม ReStart คราวนี้จะย้ายตำแหน่ง Icon ยังไงก็ย้ายไม่ได้แล้ว

Firefox 4 save & exit

One change in Firefox 4 is to by default stop Firefox displaying the warning message, but it can be turned back on by changing some preferences.

    1.Type about:config into the location bar and press enter
    2.Accept the warning message that appears, you will be taken to a list of preferences
    3.Locate the preference browser.tabs.warnOnClose, if its value is set to false, double-click on it to change its value to true
    4.Repeat this for these 2 preferences browser.warnOnQuit, browser.warnOnRestart
    5.Starting with beta 12 there will be an additional preference that needs to be set to true - browser.showQuitWarning