Click here to Skip to main content
15,887,485 members
Home / Discussions / Web Development
   

Web Development

 
Questionhelp me in downloading attachment in email client Pin
farria23-Apr-07 23:20
farria23-Apr-07 23:20 
AnswerRe: help me in downloading attachment in email client Pin
Shuaib wasif khan24-Apr-07 1:43
Shuaib wasif khan24-Apr-07 1:43 
QuestionOn FireFox, unable to access javascript's object value.. Pin
Tk..23-Apr-07 22:49
Tk..23-Apr-07 22:49 
AnswerRe: On FireFox, unable to access javascript's object value.. Pin
Guffa24-Apr-07 9:15
Guffa24-Apr-07 9:15 
GeneralRe: On FireFox, unable to access javascript's object value.. Pin
Tk..24-Apr-07 19:52
Tk..24-Apr-07 19:52 
QuestionData type mismatch in criteria expression. Pin
dheema23-Apr-07 19:04
dheema23-Apr-07 19:04 
AnswerRe: Data type mismatch in criteria expression. Pin
Pete O'Hanlon23-Apr-07 22:49
mvePete O'Hanlon23-Apr-07 22:49 
QuestionHow to submit a POST with a WebRequest? (in C# to a PHP file) Pin
Super Lloyd23-Apr-07 15:35
Super Lloyd23-Apr-07 15:35 
there is a PHP file with which I try to communicate.
there is a simple HTML like that:
"<form action='feedback.php' method='POST'>blablabl</form>"

now I try to write some C# code to invoke the PHP from a desktop app, which look like that:
====================
static HttpWebRequest CreateRequest(string url, string method, IDictionary<string, string> parameters, Stream data)
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Method = method;

foreach (string key in parameters.Keys)
request.Headers.Add(key, parameters[key]);

using (Stream reqStream = request.GetRequestStream())
{
//request.Headers.Add("Content-Length:", reqStream.Length.ToString());
CopyStream(data, reqStream);
}

return request;
}
====================
where URL is the URL of the PHP page.
unfortunately nothin is picked up by the PHP script.

did I miss something?
how do I submit multiple file btw?

AnswerRe: How to submit a POST with a WebRequest? (in C# to a PHP file) Pin
kubben24-Apr-07 2:16
kubben24-Apr-07 2:16 
Questioncan't create ASP.NET AJAX-Enabled Web Site in orcas Pin
Tsvi Girsh23-Apr-07 2:02
Tsvi Girsh23-Apr-07 2:02 
QuestionE-mail using javascript Pin
L Viljoen23-Apr-07 1:55
professionalL Viljoen23-Apr-07 1:55 
AnswerRe: E-mail using javascript Pin
badgrs23-Apr-07 2:19
badgrs23-Apr-07 2:19 
QuestionBUG IN PARAMETER OF ASP.NET 2.0 ? Pin
hifiger200423-Apr-07 1:52
hifiger200423-Apr-07 1:52 
AnswerRe: BUG IN PARAMETER OF ASP.NET 2.0 ? Pin
RichardGrimmer23-Apr-07 5:50
RichardGrimmer23-Apr-07 5:50 
GeneralRe: BUG IN PARAMETER OF ASP.NET 2.0 ? [modified] Pin
hifiger200423-Apr-07 6:48
hifiger200423-Apr-07 6:48 
GeneralRe: BUG IN PARAMETER OF ASP.NET 2.0 ? Pin
marky77723-Apr-07 23:24
marky77723-Apr-07 23:24 
GeneralRe: BUG IN PARAMETER OF ASP.NET 2.0 ? Pin
hifiger200423-Apr-07 23:29
hifiger200423-Apr-07 23:29 
GeneralRe: BUG IN PARAMETER OF ASP.NET 2.0 ? Pin
marky77723-Apr-07 23:37
marky77723-Apr-07 23:37 
GeneralRe: BUG IN PARAMETER OF ASP.NET 2.0 ? Pin
hifiger200424-Apr-07 2:04
hifiger200424-Apr-07 2:04 
QuestionDeveloping a new Site with FrontPage Pin
matjame22-Apr-07 23:03
matjame22-Apr-07 23:03 
AnswerRe: Developing a new Site with FrontPage Pin
Michael Hendrickx22-Apr-07 23:29
Michael Hendrickx22-Apr-07 23:29 
AnswerRe: Developing a new Site with FrontPage Pin
JimmyRopes27-Apr-07 19:10
professionalJimmyRopes27-Apr-07 19:10 
Questiondisplay data from database base on user input Pin
dheema22-Apr-07 22:58
dheema22-Apr-07 22:58 
QuestionReg web dialer Pin
NasimKaziS22-Apr-07 21:20
NasimKaziS22-Apr-07 21:20 
Questionjavascript to input masked date __/__/____ Pin
DineshSharmain22-Apr-07 20:49
DineshSharmain22-Apr-07 20:49 

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.