Tôi nhận được thông báo lỗi sau:thời gian thực hiện tối đa là 60 giây vượt quá lỗi
Warning: file_get_contents(http://localhost/sample_pie.php) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\xampp\htdocs\EXACT\report.php on line 206
Fatal error: Maximum execution time of 60 seconds exceeded in C:\xampp\htdocs\EXACT\report.php on line 206
Đây là dòng 206:
$url = 'http://localhost/sample_pie.php';
$img = 'C:\xampp\htdocs\piechart.jpg';
file_put_contents($img, file_get_contents($url));
gì làm tôi phải làm gì để khắc phục điều này?
Bạn cần chấp nhận câu trả lời cho câu hỏi của mình hoặc mọi người sẽ không trả lời câu hỏi của bạn nữa. BTW: Ba dòng nào là số dòng 206? – soulmerge