Untitled
Anonymous
Plain Text
12/23/2022 6:28 AM
374 B
11
Indexable
Never
<?php $handle = curl_init(); $url = "https://phpenthusiast.com/blog/five-php-curl-examples"; // تنظیم آدرس اینترنتی هدف curl_setopt($handle, CURLOPT_URL, $url); // تنظیم نتیجه در قالب یک رشته curl_setopt($handle, CURLOPT_RETURNTRANSFER, true); $output = curl_exec($handle); curl_close($handle); echo $output;
Editor is loading...