/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* gets the data from a URL */ function get_data($url) { $timeout = 5; return $data; } $returned_content = get_data('http://www.somedomain.com'); echo $returned_content;