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 synchronized String addPhoto(String fileNm, String filePath, int current, int all) { try { String url = "http://192.168.5.231:8084/Pratik/Photo?Action=Addnew"; connectURL = new URL(url); HttpURLConnection conn = (HttpURLConnection) connectURL .openConnection(); conn.setDoInput(true); conn.setDoOutput(true); conn.setUseCaches(false); conn.setRequestMethod("POST"); conn.setRequestProperty("Connection", "Keep-Alive"); conn.setRequestProperty("Content-Type", "multipart/form-data;boundary=" + boundary); conn.setConnectTimeout(connectionTimeout); DataOutputStream dos = new DataOutputStream(conn.getOutputStream()); FileInputStream fileInputStream = new FileInputStream(filePath); byte[] buffer = new byte[fileInputStream.available()]; int bytesRead = fileInputStream.read(buffer); dos.write(buffer); dos.flush(); fileInputStream.close(); dos.flush(); InputStream is = conn.getInputStream(); BufferedReader bf = new BufferedReader(new InputStreamReader(is)); response = bf.readLine(); dos.close(); Log.i(tag, "response is:::::" + response); } catch (MalformedURLException ex) { Log.e(tag, "error: " + ex.getMessage(), ex); } catch (IOException ioe) { Log.e(tag, "error: " + ioe.getMessage(), ioe); } notifyAll(); return response; }