View Single Post
Old 26th March 2011, 18:03   #22
MADxHAWK
Senior Member
 
Join Date: Jan 2010
Posts: 182
Hi pimphesus,

well the script works fine, im using it on my own station. But you are right, i realy forgot the line
PHP Code:
curl_close($ch); 
This line should be added befor
PHP Code:
?> 
Quote:
why is'nt in your script a call to the port?
code:
$ch = curl_init($sc_host . '/admin.cgi?mode=viewxml&sid=$sc_sid');
The port is set. Take a look at this line:
PHP Code:
curl_setopt($chCURLOPT_PORT$sc_port); 
Quote:
So I got sick of waiting for a response for the ticket I sent in and gave my host a call and they pretty much told me that I needed to change my shoutcast servers to port 80, which is apparently the only way to get past their firewall. So how is that supposed to work when two of my servers are free servers and I have no access to their configs?

Edit: making a similar reply to the ticket I sent.
They blocked all ports except Port 80? I would change hoster emediatly LOL.
1. you have to decide running a webserver or a shoutcast, both doesnt work cause webserver also run on port 80.
2. if the realy only allow port 80 you shoutcast wont run ayway cause you need 2 ports for shoutcast, portbase and portbase +1, so you would need port 80 and 81

-MAD
MADxHAWK is offline   Reply With Quote