curl_setopt($ch, CURLOPT_PROXY, "http://proxy.gazi.edu.tr:2001");
curl_setopt($ch, CURLOPT_PROXYPORT, 2001);
curl_setopt ($ch, CURLOPT_PROXYUSERPWD, "user@gazi.edu.tr:password");
Beware! I made typos, always. This is a multilingual blog, contains Turkish and English posts. Here my homepage without typos : hasantayyar.net - Blog moved to medium.com/@htayyar. Old posts will remain here.