PHP

Set CURLOPT_PROXY and CURLOPT_PROXYUSERPWD to your Proxy Charm credentials.

Setup

  1. Copy credentials from the dashboard

    Sign in to Proxy Charm and open Proxies. Copy the host, port, username, and password for your workspace.

  2. Configure cURL

    <?php
    $ch = curl_init("https://api.ipify.org");
    curl_setopt_array($ch, [
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_PROXY => "zephyr.proxy.rlwy.net:15112",
        CURLOPT_PROXYUSERPWD => "USERNAME:PASSWORD",
    ]);
    echo curl_exec($ch);
    curl_close($ch);
  3. Echo the exit IP

    Compare the output to the dashboard.