Author Archives: admin

XSS (Cross Site Scripting)

XSS (Cross Site Scripting) Cheat Sheet Esp: for filter evasion ขอเก็บไว้ก่อน ถ้าว่างจะมาอ่านทำความเข้าใจ http://ha.ckers.org/xss.html

Posted in เกี่ยวกับนักพัฒนาเว็บ | Tagged , | Leave a comment

query สำหรับดึง source code ใน oracle

เนื่องจากบทความที่แล้ว เป็น query สำหรับดู DEPENDENCY ของ object สำหรับ query ที่ใช้สำหรับดึง code ในส่วนของ source code ที่เป็น view คือ SELECT text FROM all_views WHERE view_name= ? สำหรับ ที่เอาไว้ดึง function + procedure คือ SELECT text FROM all_source WHERE name= ? and type = … Continue reading

Posted in Oracle | Tagged , , , | Leave a comment

วิธีดู DEPENDENCY ของ object ใน oracle

วิธีดู DEPENDENCY ของ object ใน oracle เช่น เอาไว้ดูว่า procedure นี้ dependency กับ procedure หรือ function ไหนบ้าง SELECT lvl , u.object_id , u.object_type , LPAD (‘ ‘, lvl) || object_name obj FROM ( SELECT LEVEL lvl, object_id FROM SYS.public_dependency s START … Continue reading

Posted in Oracle | Tagged , | Leave a comment

ปัญหา select ทับเมนู หรือ calendar บน IE6

ปัญหา สำหรับหลายๆคนที่ทำเว็บน่าจะเจอปัญหาเกี่ยวกับ tag select ของ html บน IE 6 ชอบทับ เมนู หรือ calendar ที่เป็น div ไม่ว่าจะ set z-index ให้มากๆ ก็ยังโดน select ทับอยู่ดี ปล. ไม่ได้ลงรูปให้ดูนะครับ น่าจะทราบกันอยู่แล้ว (เมื่อไหร่จะเลิกใช้ IE6 กันสักทีก็ไม่รู้) วิธีแก้ปัญหา เขียน code ให้ hide และ show select เมื่อใช้งานเมนู หรือ calendar วิธีนี้อาจจะทำให้ … Continue reading

Posted in Javascript | Tagged , , , , , , | Leave a comment

php error เกี่ยวกับ strtotime

ปัญหาที่เจอ A PHP Error was encountered Severity: Warning Message: strtotime() [function.strtotime]: It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of … Continue reading

Posted in PHP | Tagged , | Leave a comment

How to Redirect non-www to www for Codeigniter

RewriteEngine On                           #This bit rewrites your host name to include www RewriteCond %{HTTP_HOST} !^www\.doopromotion\.com [NC] RewriteRule ^(.*)$ http://www.doopromotion.com/$1 [R=301,NC,L] #This bit does the codeigniter magic RewriteCond %{REQUEST_FILENAME} … Continue reading

Posted in เกี่ยวกับนักพัฒนาเว็บ | Tagged , , , , , , | Leave a comment

วิธี ping sitemap เพื่อเรียก bot

เขียนแบบสั้นๆง่ายๆนะครับ เปลี่ยน http://doopromotion.com/sitemap.xml เป็น domain และ sitemap ของเว็บของคุณ และนำไปวางใน browser + enter http://www.google.com/webmasters/sitemaps/ping?sitemap=http://doopromotion.com/sitemap.xml http://api.search.yahoo.com/SiteExplorerService/V1/updateNotification?appid=MicrosysProgramSER&url=http://doopromotion.com/sitemap.xml http://submissions.ask.com/ping?sitemap=http://doopromotion.com/sitemap.xml http://api.moreover.com/ping?u=http://doopromotion.com/sitemap.xml http://webmaster.live.com/ping.aspx?siteMap=http://doopromotion.com/sitemap.xml DooPromotion » Cheap Deals, Best Deals, On Sale

Posted in เกี่ยวกับนักพัฒนาเว็บ | Tagged , , , , , , , | Leave a comment

PageRank DooPro.com

จะพยายามมาอัพเดทเรื่อยๆนะครับ ขอเริ่มนับใหม่ตั้งแต่ 2010 2010-04-06     PR1 http://doopro.com , PR1 http://doopro.com/home

Posted in เกี่ยวกับเว็บดูโปร | Tagged , , , | Leave a comment

Computer & IT learning center (e-book)

Computer & IT learning center (e-book) http://www.flazx.com/ สำหรับคน it ไม่ต้องอธิบายไรมากครับ ลองเข้าดูรับรองคุณจะติดใจ

Posted in เกี่ยวกับนักพัฒนาเว็บ | Tagged , , | Leave a comment

commnd unix find and find+grep ไว้หาคำ

find . -exec grep “word” ‘{}’ \; -print find . -name “word” -print

Posted in เกี่ยวกับนักพัฒนาเว็บ | Tagged , , | Leave a comment