-
I need to redirect port 43 because it is blocked
My hosting company gave me this code to use to connect to proxy server. I have never programmed php and do not know how to change the code or to use it.
$ch = curl_init();
curl_setopt($ch,CURLOPT_URL,$domain);
curl_setopt($ch, CURLOPT_HEADER , 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt ($ch, CURLOPT_PROXY, 'http://64.202.165.130:3128');
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
$data = curl_exec($this->ch);
The code just hangs up and does nothing right now.
http://www.netbonded.com/whois/whois.php
Thank you
-
Re: I need to redirect port 43 because it is blocked
I may give you additional code in a bit, but I am very busy at the moment. I will tell you that you need to look at whois/classes/engine.php , more specifically at the loopup() function and within that the fsockopen, fputs, fgets, feof, and fclose functions. I know you are not a php programmer, so I suspect you will visit a programming forum for help (such as http://www.progammingtalk.com ).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules