<?php
function testProxy($proxyUrl) {
curl_setopt($ch, CURLOPT_URL
, "https://i...content-available-to-author-only...o.io/ip");
// Set proxy
// Timeout (optional)
// For HTTPS URLs
} else {
echo "IP returned from proxy: " . trim($response) . "\n"; }
}
// Example: test one of your proxies
$proxy = "http://wkpaqgad:c5g3ta47fh8m@38.153.152.244:9594"; // replace with actual one from config
testProxy($proxy);
PD9waHAKCmZ1bmN0aW9uIHRlc3RQcm94eSgkcHJveHlVcmwpIHsKICAgICRjaCA9IGN1cmxfaW5pdCgpOwogICAgY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1VSTCwgImh0dHBzOi8vaS4uLmNvbnRlbnQtYXZhaWxhYmxlLXRvLWF1dGhvci1vbmx5Li4uby5pby9pcCIpOwogICAgY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1JFVFVSTlRSQU5TRkVSLCB0cnVlKTsKCiAgICAvLyBTZXQgcHJveHkKICAgIGN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9QUk9YWSwgJHByb3h5VXJsKTsKCiAgICAvLyBUaW1lb3V0IChvcHRpb25hbCkKICAgIGN1cmxfc2V0b3B0KCRjaCwgQ1VSTE9QVF9DT05ORUNUVElNRU9VVCwgMTApOwogICAgY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1RJTUVPVVQsIDE1KTsKCiAgICAvLyBGb3IgSFRUUFMgVVJMcwogICAgY3VybF9zZXRvcHQoJGNoLCBDVVJMT1BUX1NTTF9WRVJJRllQRUVSLCBmYWxzZSk7CgogICAgJHJlc3BvbnNlID0gY3VybF9leGVjKCRjaCk7CgogICAgaWYgKGN1cmxfZXJybm8oJGNoKSkgewogICAgICAgIGVjaG8gIkVycm9yOiAiIC4gY3VybF9lcnJvcigkY2gpIC4gIlxuIjsKICAgIH0gZWxzZSB7CiAgICAgICAgZWNobyAiSVAgcmV0dXJuZWQgZnJvbSBwcm94eTogIiAuIHRyaW0oJHJlc3BvbnNlKSAuICJcbiI7CiAgIC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