MUS causing error 500

Results 1 to 3 of 3
  1. #1
    Elite Member D3T0XITY is offline
    Member +Rank
    Aug 2011 Join Date
    121Posts

    ! MUS causing error 500

    Hello I am having issues what anything involving MUS, I have tried over 4 different MUS codes and they all cause IIS to give me an error 500.

    This is my current MUS function:

    PHP Code:
    public function Mus($header$data '')
        {
            if (
    $this->config['MUS']['enabled'] == "false" || $this->getSystemStatus() == "0")
            {
                return;
            }
            
            
    $musData $header chr(1) . $data;
            
            
    $sock = @socket_create(AF_INETSOCK_STREAMgetprotobyname('tcp'));
            @
    socket_connect($sock$this->config['MUS']['ip'], intval($this->config['MUS']['port']));
            @
    socket_send($sock$musDatastrlen($musData), MSG_DONTROUTE);    
            @
    socket_close($sock);
        } 


  2. #2
    Elite Member D3T0XITY is offline
    Member +Rank
    Aug 2011 Join Date
    121Posts

    Re: MUS causing error 500

    Solved.

  3. #3
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,613Posts

    Re: MUS causing error 500

    Tell how you solved this problem incase someone else run into this problem too and then he doesnt need to create a new thread.



Advertisement