function get_response($URL, $context) { if(!function_exists('curl_init')) { die ("Curl PHP package not installedn"); } /*Initializing CURL*/ $curlHandle = curl_init(); /*The URL to be downloaded is set*/ curl_setopt($curlHandle, CURLOPT_URL, $URL); curl_setopt($curlHandle, CURLOPT_HEADER, false); curl_setopt($curlHandle, CURLOPT_HTTPHEADER, array("Content-Type: text/xml")); curl_setopt($curlHandle, CURLOPT_POSTFIELDS, $context); /*Now execute the CURL, download the URL specified*/ $response = curl_exec($curlHandle); return $response; }
<IfModule mod_security.c> # Turn off mod_security filtering. SecFilterEngine Off # The below probably isn't needed, but better safe than sorry. SecFilterScanPOST Off </IfModule>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง