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 /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

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 /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Send and receive URL data

Send and receive URL data

Put your problem here if it does not fit any of the other categories.

Send and receive URL data

Postby saiko6996 » Fri Mar 28, 2008 10:18 pm

Hi!

I have an apache server and a php file. I want to send data to this php file. I'm trying to send data by this way:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. URL url= new URL(http://localhost/index2.php?option=3&el ... ent2=elem2);
  2.  
  3.                         HttpURLConnection httpConnection =  (HttpURLConnection)url.openConnection();;
  4.  
  5.             httpConnection.connect();
Parsed in 0.013 seconds, using GeSHi 1.0.8.4


I try to pass all the data in the URL direction, but it doesn't work. I don't know how I have to do the connection, and if it is possible to send data by GET method.

Thanks everybody!
saiko6996
Freshman
Freshman
 
Posts: 6
Joined: Tue Feb 19, 2008 7:41 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 13 guests