0 Members and 1 Guest are viewing this topic.
<?php$url = "";//Try to fetch the urlforeach ( $_GET as $key => $value ){ //I know this method isn't entirely secure, but it gets the job done ;) if ( eregi("http://", $key) ) { $url = $key; }}//Do what you want with the url?$contents = file_get_contents($url); //GET$contents = http_post_data($url, Array("key" => "value")); //POST, sending $_POST["key"] = "value";?>