function php "fsockopen"

Discuss Shoutcast streaming here, any issues, advice or tips are welcome
Forum rules
Please don't use the forums to report outages, particularly if you are a FreeStreamHosting.org user.

function php "fsockopen"

Postby Ferik » Thu 24th Jun, 2010 3:44 am

hello,

but the php function "fsockopen" (for script statistics) is disabled on the free servers?

Thanks!
Ferik
 
Posts: 11
Joined: Thu 14th Jan, 2010 11:37 am

Re: function php "fsockopen"

Postby Gavin » Mon 12th Jul, 2010 11:38 pm

Hi,

The free servers accept any requests - if the script isn't working then it's your webhost that's blocking it and not us. You may wish to contact them, but they don't always help.
Please don't PM me for support, support system located at:
Customer Support: https://secure.bellonline.co.uk/submitticket.php
FreeStreamHosting Support: http://freestreamhosting.org/support.php
Sales: https://secure.bellonline.co.uk/contact.php
Gavin
Site Admin
 
Posts: 387
Joined: Thu 01st Jan, 1970 1:00 am

Re: function php "fsockopen"

Postby Ferik » Wed 21st Jul, 2010 1:47 pm

My hosting service is a disaster, it is likely that the function have blocked them, now try again Thanks :)
Ferik
 
Posts: 11
Joined: Thu 14th Jan, 2010 11:37 am

Re: function php "fsockopen"

Postby Gavin » Fri 23rd Jul, 2010 4:05 pm

Hi,

You might be interested to know that this is the reason that we have the Javascript codes in there as well as the PHP ones. A lot of hosts block fsockopen, but the javascript gets around that as our own servers are used to get the data ;)
Please don't PM me for support, support system located at:
Customer Support: https://secure.bellonline.co.uk/submitticket.php
FreeStreamHosting Support: http://freestreamhosting.org/support.php
Sales: https://secure.bellonline.co.uk/contact.php
Gavin
Site Admin
 
Posts: 387
Joined: Thu 01st Jan, 1970 1:00 am

Re: function php "fsockopen"

Postby Ferik » Mon 26th Jul, 2010 10:38 pm

Gavin, I did a simple test with another webradio (Bassdrive) and I came to the conclusion that your server does not accept requests via php script, fsockopen and CURL. :(

TEST HERE (identical scripts) :
http://www.djferik.it/stats-bassdrive.php
http://www.djferik.it/stats-myradiostream.php
Ferik
 
Posts: 11
Joined: Thu 14th Jan, 2010 11:37 am

Re: function php "fsockopen"

Postby Gavin » Tue 27th Jul, 2010 7:10 pm

Hi,

Our server does accept any requests for stats.

Have you checked that your server is actually online? If so then the chances are that there's some kind of issue stopping the connection getting through.

If you are able to, then it may be a good idea to run a traceroute from the web server to s1 (or ask your webhost if they will).
Please don't PM me for support, support system located at:
Customer Support: https://secure.bellonline.co.uk/submitticket.php
FreeStreamHosting Support: http://freestreamhosting.org/support.php
Sales: https://secure.bellonline.co.uk/contact.php
Gavin
Site Admin
 
Posts: 387
Joined: Thu 01st Jan, 1970 1:00 am

Re: function php "fsockopen"

Postby Ferik » Thu 29th Jul, 2010 11:22 pm

Hi Gavin,
confirm the error in my web hosting. I tried using a local server to collect statistics and it works fine (localhost <-s1.myradiostream.com). I have not the faintest idea what the blocks from my server to your .... it's a mystery :shock:

Thank you :)


Image
Ferik
 
Posts: 11
Joined: Thu 14th Jan, 2010 11:37 am


Return to Streaming Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron