Click here to Skip to main content
15,888,124 members
Home / Discussions / C#
   

C#

 
Generalminimization effect Pin
ecolner28-Apr-04 0:07
ecolner28-Apr-04 0:07 
GeneralRe: minimization effect Pin
Mike Dimmick28-Apr-04 2:29
Mike Dimmick28-Apr-04 2:29 
GeneralLogging/Debug Output/Verbose Mode Pin
MrEyes27-Apr-04 23:20
MrEyes27-Apr-04 23:20 
GeneralRe: Logging/Debug Output/Verbose Mode Pin
Dave Kreskowiak28-Apr-04 1:48
mveDave Kreskowiak28-Apr-04 1:48 
GeneralRe: Logging/Debug Output/Verbose Mode Pin
Heath Stewart28-Apr-04 3:28
protectorHeath Stewart28-Apr-04 3:28 
GeneralRe: Logging/Debug Output/Verbose Mode Pin
Heath Stewart28-Apr-04 3:34
protectorHeath Stewart28-Apr-04 3:34 
QuestionHow to send request to php page using POST method Pin
Alex Getman27-Apr-04 22:58
Alex Getman27-Apr-04 22:58 
AnswerRe: How to send request to php page using POST method Pin
Heath Stewart28-Apr-04 3:26
protectorHeath Stewart28-Apr-04 3:26 
As I mentioned before, drop the preceeding "?" in postData:
HttpWebRequest request = (HttpWebRequest)
  WebRequest.Create("http://www.umc.ua/misc/sendsms.php");
request.Method = "POST"
request.ContentType = "application/x-www-form-urlencoded";
string postData =
  "network1=UMC&Phone1=5918658&Message=HellofromCSharp&sender_name=sn";
byte[] buffer = Encoding.ASCII.GetBytes(postData);
request.ContentLength = buffer.Length;
Stream s = request.GetRequestStream();
s.Write(buffer, 0, buffer.Length);
s.Flush();
s.Close();
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
// ...


 

Microsoft MVP, Visual C#
My Articles
GeneralRe: How to send request to php page using POST method Pin
Alex Getman28-Apr-04 5:04
Alex Getman28-Apr-04 5:04 
GeneralRe: How to send request to php page using POST method Pin
Heath Stewart28-Apr-04 10:23
protectorHeath Stewart28-Apr-04 10:23 
GeneralRe: How to send request to php page using POST method Pin
Alex Getman28-Apr-04 20:25
Alex Getman28-Apr-04 20:25 
GeneralRe: How to send request to php page using POST method Pin
Heath Stewart29-Apr-04 3:06
protectorHeath Stewart29-Apr-04 3:06 
GeneralOut of Process Server in C# Pin
Colin Herkes27-Apr-04 21:05
Colin Herkes27-Apr-04 21:05 
GeneralRe: Out of Process Server in C# Pin
Heath Stewart28-Apr-04 3:17
protectorHeath Stewart28-Apr-04 3:17 
GeneralRe: Out of Process Server in C# Pin
Colin Herkes29-Apr-04 21:24
Colin Herkes29-Apr-04 21:24 
GeneralRe: Out of Process Server in C# Pin
Heath Stewart30-Apr-04 2:57
protectorHeath Stewart30-Apr-04 2:57 
GeneralRe: Out of Process Server in C# Pin
Colin Herkes3-May-04 0:19
Colin Herkes3-May-04 0:19 
GeneralRe: Out of Process Server in C# Pin
Heath Stewart3-May-04 1:49
protectorHeath Stewart3-May-04 1:49 
GeneralRe: Out of Process Server in C# Pin
Colin Herkes3-May-04 2:54
Colin Herkes3-May-04 2:54 
GeneralRe: Out of Process Server in C# Pin
Heath Stewart3-May-04 3:18
protectorHeath Stewart3-May-04 3:18 
GeneralRe: Out of Process Server in C# Pin
leppie28-Apr-04 8:39
leppie28-Apr-04 8:39 
GeneralRe: Out of Process Server in C# Pin
Colin Herkes29-Apr-04 21:26
Colin Herkes29-Apr-04 21:26 
GeneralRe: Out of Process Server in C# Pin
leppie30-Apr-04 6:55
leppie30-Apr-04 6:55 
GeneralDirect X Pin
mookeroo27-Apr-04 15:37
mookeroo27-Apr-04 15:37 
GeneralRe: Direct X Pin
Heath Stewart27-Apr-04 17:11
protectorHeath Stewart27-Apr-04 17:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.