Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: fsockopen?

  1. #1
    Regular Coder
    Join Date
    Dec 2006
    Location
    In the wilderness
    Posts
    106
    Thanks
    9
    Thanked 5 Times in 5 Posts

    fsockopen?

    is there any way to test if fsockopen command is available to be used on my hosting server? my web hosts advise me that it is up and running (I had to pay extra to get a dedicated server to get the function) but im not too sure as I cannot connect to grab shoutcast stats using the function with a script i already have, which is my goal (I run a internet radio site) , however if i upload exactly the same script to another server i use for another site to test it, it works without problem.

    ive been onto my web hosts but all they say is that its a coding issue and wont help. If its a coding issue, how does it work ok on another server

    I want to show them that it just does not work, is they're any test scripts out there that i could try.

    Thanks
    "The advantage of computers is that they do exactly what you tell them to do. The disadvantage of computers, on the other hand, is that they do exactly what you tell them to do."

    Excellent resource for learning PHP here

  • #2
    $object->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Jun 2003
    Posts
    3,088
    Thanks
    2
    Thanked 23 Times in 23 Posts
    You need to read what the manual says about fsockopen. There is an error message parameter that you can set which will give you a system-level error for this command and tell you why this command isn't working on your server.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    SNAP to it!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •