how to get data from another web site : how to get an specific data from another web site, using curl with PHP.
This is my code:

   $page = curl_init('http://lookup.cla.base8tech.com/');
        $encoded ='';

        foreach($_GET as $name=>$value){
            $encoded .= urlencode($name) .'=' .urlencode($value).'&';


        }
        foreach ($_POST as $name=>$value){
            $encoded .= urlencode($name) .'=' .urlencode($value).'&';

        }
    preg_match('!\d+!', $encoded, $zip);
        print_r($zip);

    $encoded = substr($encoded, 0, strlen($encoded)-1 );

        curl_setopt($page, CURLOPT_POSTFIELDS, $encoded);
        curl_setopt($page, CURLOPT_HEADER, 0);
        curl_setopt($page, CURLOPT_POST, 1 );
        curl_exec($page);

        curl_close($page);