Php part ---: PHP geht auf der einen Seite auf der Andren aber nicht!?

Beitrag lesen

PHP Code der Fehler auslöst:

<?php  
        break;  
    case 'error':  
        echo '<div id="error"><p>';  
  
        switch ($data['group'])  
        {  
            case 'url':  
                echo '<b>URL Error (' . $data['error'] . ')</b>: ';  
                switch ($data['type'])  
                {  
                    case 'internal':  
                        $message = 'Failed to connect to the specified host. '  
                                 . 'Possible problems are that the server was not found, the connection timed out, or the connection refused by the host. '  
                                 . 'Try connecting again and check if the address is correct.';  
                        break;  
                    case 'external':  
                        switch ($data['error'])  
                        {  
                            case 1:  
                                $message = 'The URL you\'re attempting to access is blacklisted by this server. Please select another URL.';  
                                break;  
                            case 2:  
                                $message = 'The URL you entered is malformed. Please check whether you entered the correct URL or not.';  
                                break;  
                        }  
                        break;  
                }  
                break;  
            case 'resource':  
                echo '<b>Resource Error:</b> ';  
                switch ($data['type'])  
                {  
                    case 'file_size':  
                        $message = 'The file your are attempting to download is too large.<br />'  
                                 . 'Maxiumum permissible file size is <b>' . number_format($GLOBALS['_config']['max_file_size']/1048576, 2) . ' MB</b><br />'  
                                 . 'Requested file size is <b>' . number_format($GLOBALS['_content_length']/1048576, 2) . ' MB</b>';  
                        break;  
                    case 'hotlinking':  
                        $message = 'It appears that you are trying to access a resource through this proxy from a remote Website.<br />'  
                                 . 'For security reasons, please use the form below to do so.';  
                        break;  
                }  
                break;  
        }  
  
        echo 'An error has occured while trying to browse through the proxy. <br />' . $message . '</p></div>';  
        break;  
}  
?>  
  <form method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>" target="_parent">  
    <ul id="form">  
      <li id="address_bar"><label>Web Addresse <input id="address_box" type="text" size="50" name="<?php echo $GLOBALS['_config']['url_var_name'] ?>" value="<?php echo isset($GLOBALS['_url']) ? htmlspecialchars($GLOBALS['_url']) : '' ?>" onfocus="this.select()" /></label> <input id="go" type="submit" value="Go" /></li>  
      <?php  
  
      foreach ($GLOBALS['_flags'] as $flag_name => $flag_value)  
      {  
          if (!$GLOBALS['_frozen_flags'][$flag_name])  
          {  
  
          }  
      }  
      ?>