Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
public static String readFromURL( String httpsUrl, String login, String password ) throws NoSuchAlgorithmException, KeyManagementException, MalformedURLException, UnknownHostException, IOException { // Variabeln TrustManager[] trustAllCerts; SSLContext sc; URL url; HttpsURLConnection connection; String s; String base64; BufferedReader reader; StringBuffer str; String line; trustAllCerts = new TrustManager[] { new X509TrustManagerImpl() }; // Let us create the factory where we can set some parameters for the connection sc = SSLContext.getInstance( "SSL" ); sc.init( null, trustAllCerts, new SecureRandom() ); // Create the socket connection and open it to the secure remote web server url = new URL( httpsUrl ); HttpsURLConnection.setDefaultSSLSocketFactory( sc.getSocketFactory() ); connection = (HttpsURLConnection)url.openConnection(); // Once the connection is open to the remote server we have to replace the default HostnameVerifier // with one of our own since we want the client to bypass the peer and submitted host checks even // if they are not equal. If this routine were not here, then this client would claim that the submitted // host and the peer host are not equal. connection.setHostnameVerifier( new HostnameVerifierImpl() ); // Make this URL connection available for input and output connection.setDoOutput( true ); // Login s = login + ":" + password; base64 = "Basic " + new BASE64Encoder().encode( s.getBytes() ); connection.setRequestProperty( "Authorization", base64 ); connection.connect(); // vom Stream lesen und als String zur├╝ckgeben reader = new BufferedReader( new InputStreamReader( connection.getInputStream() ) ); str = new StringBuffer(); while( (line = reader.readLine()) != null ) { str.append( line + "\n" ); } return( str.toString() ); }