echo $json = file_get_contents('http://www.test.com/insert_test.php?number='.$number.'&type=message&file='.$file.'&msg='.$msg.'×tamp='.$timestamp.'',true);
[{"status":"success","number":"1001","url":"http:\/\/www.test.com\/new_test\/?p=62","timestamp":"20141031105453"}]
<?php if(isset($_REQUEST['test'])){ echo json_encode( array( array( 'url'=>'http://www.test.com/123/?php=1'))); exit; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>TEST</title> <head> <body> <?php echo $x=file_get_contents('http://localhost/test/raw_json_encode.php?test=1'), "<br>"; print_r( json_decode($x, true)); ?> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง