CURLOPT_PORT works successfully. However, the page I want to connect to has more to the url after the port. So, i'm trying to connect to:
subdomain.domain.org:8080/Folder
i can successfully connect to:
subdomain.domain.org:8080
any suggestions, im stumped.
<?php
// INIT CURL
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://subdomain.gotdns.org');
curl_setopt($ch, CURLOPT_PORT, '8080');
curl_setopt ($ch, CURLOPT_POST, 1);.
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$store = curl_exec ($ch);
echo $store;
curl_close ($ch);?>