Basically, just a simple script that can check to see if a shoutcast radio is online or not, and output a code based on it.
I tried to do this with file_get_contents and eregi, but it didn’t seem to work, or was waaaaay to slow.
Cheers.
🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use fsockopen and check for the error.
You have to try and determine the
timeoutbut it might be best to run this with bigger timeout regularly on background with cron and saving the results somewhere.