Send your first PHP request through a proxy
PHP's cURL functions need only two proxy settings, one for the address and one for your login.
Three steps to see it working
First, buy a plan. Datacenter costs less than the other types, so it suits a first test. Second, copy four details from your dashboard: the host (the proxy server's name or IP address), the port (a number written after the host, with a colon in between), your username and your password. Third, paste them into the sample below. Your login replaces USERNAME and PASSWORD, while gateway.proxy:8080 stands in for your host and port, so swap yours in wherever those appear. Then run it. The sample asks a website which IP address it can see, and if the answer isn't your own IP, the proxy is doing its job. It relies on a library (ready-made code that sends web requests for you); the libraries listed further down need the same details, though each has its own place to put them. Keep in mind that a proxy only changes the address a site sees, so your script must still follow that site's terms and the law where you live.
<?php
$ch = curl_init("https://api.ipify.org?format=json");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_PROXY => "gateway.proxy:8080",
CURLOPT_PROXYUSERPWD => "USERNAME:PASSWORD",
]);
echo curl_exec($ch); // the proxy's exit IP
curl_close($ch);