เปิด/ปิด register_globals ด้วย .htaccess

รบกวนด้วยครับ ถ้าจะ

เอาไปวางไว้ใน public_html ครับ

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@supervitaminhair.popvdo.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


Apache/1.3.41 Server at www.supervitaminhair.com Port 80

ถ้าวางไว้ใน

สคริปบางตัว ถ้า On แล้วจะใช้งานไม่ได้ ให้เช็คสคริปตัวนั้น หรือเลือกเป็นรายๆ Directory ดีกว่าครับ

[quote author=kkbz link=topic=23220.msg220168#msg220168 date=1254586742]
ถ้าวางไว้ใน

ปัญหานี้ ที่ผมเจอ ในโฮสต่างประเทศแก้ไขโดย เพิ่ม file php.ini ใน folder ที่ต้องการ แล้ว

register_globals = on

แล้ว ปัญหา

Error 500 Internal Server Error

นั้นก็ หายไปครับ

ที่โฮสต่างประเทศ ถ้า สร้างไฟล์ .htaccess แล้ว จะเกิดปัญหา Error 500 Internal Server Error ลองอ่าน Knowledgebase ของโฮสนั้น ๆ ดูครับ