Archive for the 'Server-Windows' Category

พอดีติดปัญหา ลูกค้าอยู่เครื่อง Windows ต้องการใช้ค่า register_globals  Off เฉพาะโดเมน
ต้องขอบคุณพี่ไก่ thaitumweb ที่ Guideline ให้ ไปหาวิธีทำมาจนเจอ

วิธีการครับ

ไปที่ Start - Run - Regedit - go to “HKLM\SOFTWARE\PHP\Per Directory Values\”.

Then create keys (If you site folder is default “E:\Website\ip1\domainname.com”:
“C” - “Website” - “ip1″ - “domainname.com” - then add string value
“register_globals” and set string “off”

ที่มาของข้อมูลครับ http://forum.swsoft.com/showthread.php?t=46531

php20settings20register_globals.jpg

http://www.thaihosttalk.com/th1/index.php?topic=11508.0