Click here to Skip to main content
15,924,581 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to assign an array value to another Pin
CPallini26-Jan-08 2:58
mveCPallini26-Jan-08 2:58 
GeneralRe: how to assign an array value to another Pin
gentleguy27-Jan-08 1:32
gentleguy27-Jan-08 1:32 
QuestionRe: how to assign an array value to another Pin
CPallini27-Jan-08 2:49
mveCPallini27-Jan-08 2:49 
GeneralChange Folder path Pin
Paulraj G25-Jan-08 20:54
Paulraj G25-Jan-08 20:54 
GeneralRe: Change Folder path Pin
Maxwell Chen25-Jan-08 21:52
Maxwell Chen25-Jan-08 21:52 
GeneralRe: Change Folder path Pin
David Crow26-Jan-08 12:04
David Crow26-Jan-08 12:04 
AnswerRe: Change Folder path Pin
Alain Rist26-Jan-08 20:17
Alain Rist26-Jan-08 20:17 
QuestionHow to login a website?post!method Pin
chinakknd25-Jan-08 20:51
chinakknd25-Jan-08 20:51 
Hi,
I want to login a website eg aaa.com
so I do this,
I use SendRequest send my username an password
pFile->AddRequestHeaders("Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*");
pFile->AddRequestHeaders("Referer: http://www.boofdollars.com/index.php?view=login&");
pFile->AddRequestHeaders("Accept-Language: zh-cn");
pFile->AddRequestHeaders("Content-Type: application/x-www-form-urlencoded");
pFile->AddRequestHeaders("Accept-Encoding: gzip, deflate");
pFile->AddRequestHeaders("User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Maxthon; .NET CLR 2.0.50727)");
pFile->AddRequestHeaders("Host: www.boofdollars.com");
pFile->AddRequestHeaders("Content-Length: 80");
pFile->AddRequestHeaders("Connection: Keep-Alive");
pFile->AddRequestHeaders("Cache-Control: no-cache");
pFile->AddRequestHeaders("Cookie: "+cookie_);
pFile->AddRequestHeaders("returnTo=&id=&ac=stats&step=&ptype=&form_user=goodhere&form_pwd=goodhere");
pFile->SendRequest(NULL,0,lpOptional,strlen(lpOptional));//80 bytes skipped. Reason: The content type is not captured.

Why?
I must creat a cookie?
Thank you
AnswerRe: How to login a website?post!method Pin
Paul Conrad26-Jan-08 7:50
professionalPaul Conrad26-Jan-08 7:50 
QuestionAny Method to check if database provider is installed on a machine Pin
Mushtaque Nizamani25-Jan-08 20:46
Mushtaque Nizamani25-Jan-08 20:46 
QuestionRe: Any Method to check if database provider is installed on a machine Pin
CPallini26-Jan-08 0:12
mveCPallini26-Jan-08 0:12 
QuestionRe: Any Method to check if database provider is installed on a machine Pin
David Crow26-Jan-08 12:07
David Crow26-Jan-08 12:07 
GeneralAfter Selecting Activex Control the Application crashes... Pin
spalanivel25-Jan-08 18:49
spalanivel25-Jan-08 18:49 
Generalini file creation in windows mobile Pin
guru moorthy.k25-Jan-08 18:48
guru moorthy.k25-Jan-08 18:48 
GeneralRe: ini file creation in windows mobile Pin
Maxwell Chen25-Jan-08 21:55
Maxwell Chen25-Jan-08 21:55 
GeneralAccess Violation at ii=ii+1; all other variables print value correctly Pin
mrby12325-Jan-08 13:10
mrby12325-Jan-08 13:10 
QuestionRe: Access Violation at ii=ii+1; all other variables print value correctly Pin
David Crow25-Jan-08 17:13
David Crow25-Jan-08 17:13 
GeneralRe: Access Violation at ii=ii+1; all other variables print value correctly [modified] Pin
mrby12325-Jan-08 20:37
mrby12325-Jan-08 20:37 
GeneralRe: Access Violation at ii=ii+1; all other variables print value correctly Pin
CPallini25-Jan-08 21:44
mveCPallini25-Jan-08 21:44 
GeneralRe: Access Violation at ii=ii+1; all other variables print value correctly Pin
mrby12326-Jan-08 7:18
mrby12326-Jan-08 7:18 
GeneralRe: Access Violation at ii=ii+1; all other variables print value correctly Pin
CPallini26-Jan-08 22:51
mveCPallini26-Jan-08 22:51 
GeneralRe: Access Violation at ii=ii+1; all other variables print value correctly Pin
mrby12327-Jan-08 14:01
mrby12327-Jan-08 14:01 
QuestionRe: Access Violation at ii=ii+1; all other variables print value correctly Pin
CPallini27-Jan-08 22:18
mveCPallini27-Jan-08 22:18 
Generalstrcpy_s vs strncpy_s (VC 2005 Secure API's) Pin
Peter Weyzen25-Jan-08 11:10
Peter Weyzen25-Jan-08 11:10 
GeneralRe: strcpy_s vs strncpy_s (VC 2005 Secure API's) Pin
David Crow25-Jan-08 17:17
David Crow25-Jan-08 17:17 

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.