1
2<?php
3// create a new cURL resource
4$ch = curl_init();
5
6// set URL and other appropriate options
7curl_setopt($ch, CURLOPT_URL, "http://www.example.com/");
8curl_setopt($ch, CURLOPT_HEADER, 0);
9
10// grab URL and pass it to the browser
11curl_exec($ch);
12
13// close cURL resource, and free up system resources
14curl_close($ch);
15?>
16
17