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

Web Development

 
AnswerRe: sending form data to mail Pin
Aman Bhullar1-Mar-09 21:40
Aman Bhullar1-Mar-09 21:40 
QuestionUsing Javascript to Change Image Title Attribute Pin
Ginozzzz28-Feb-09 1:39
Ginozzzz28-Feb-09 1:39 
AnswerRe: Using Javascript to Change Image Title Attribute Pin
Ginozzzz28-Feb-09 5:03
Ginozzzz28-Feb-09 5:03 
GeneralRe: Using Javascript to Change Image Title Attribute Pin
Shog928-Feb-09 8:59
sitebuilderShog928-Feb-09 8:59 
QuestionInternet Explorer 7 Tabs Pin
Brendan Vogt27-Feb-09 21:49
Brendan Vogt27-Feb-09 21:49 
QuestionISAPI + Apache Pin
Bram van Kampen27-Feb-09 14:22
Bram van Kampen27-Feb-09 14:22 
AnswerRe: ISAPI + Apache Pin
Curtis Schlak.27-Feb-09 19:09
Curtis Schlak.27-Feb-09 19:09 
GeneralRe: ISAPI + Apache Pin
Bram van Kampen1-Mar-09 15:45
Bram van Kampen1-Mar-09 15:45 
Thanks,

Yes, all that seems to work of sorts. My simple cgi just pumps an HTML page to stdout. I get at the client end a hung page and at the server:
[error] [client 127.0.0.1] malformed header from script. Bad header=<HTML>: Logon.cgi, referer: http://localhost/

If I launch the html directly it works fine.(i.e. No Syntax Errors in the HTML Script)

I get HTML Error 403 for the ISAPI I wrote, at the Client side. At the Server Side, No Error Messages in the Error Log.

Logon.cgi is as follows:-

<br />
int main(int argc,char* argv[]){<br />
<br />
<br />
// This is to catch the Debugger<br />
	DbgBreak();// Throw an 'int 3' to Debug this!<br />
<br />
	FILE* F=fopen(".\\PrivateHtm\\Logon.htm","r");<br />
	FILE* G=fopen(".\\PrivateHtm\\LogonResult.htm","w");<br />
	char Buf[4096];<br />
	while(fgets(Buf,4000,F)){<br />
		puts(Buf);<br />
		fputs(Buf,G);<br />
	}<br />
	fclose(F);<br />
	fclose(G);<br />
	return 1;<br />
}<br />


Bram van Kampen

QuestionBHO with cookies Pin
tsahiB27-Feb-09 7:42
tsahiB27-Feb-09 7:42 
NewsProfessional Outsource Website Design & Development company Pin
petermechele27-Feb-09 6:27
petermechele27-Feb-09 6:27 
QuestionJS and PHP but only one object definition Pin
sortegrip27-Feb-09 5:38
sortegrip27-Feb-09 5:38 
Questionondrop event Pin
cooltoad12327-Feb-09 2:36
cooltoad12327-Feb-09 2:36 
AnswerRe: ondrop event Pin
Curtis Schlak.27-Feb-09 4:20
Curtis Schlak.27-Feb-09 4:20 
GeneralRe: ondrop event Pin
cooltoad12327-Feb-09 4:36
cooltoad12327-Feb-09 4:36 
GeneralRe: ondrop event Pin
Curtis Schlak.27-Feb-09 4:47
Curtis Schlak.27-Feb-09 4:47 
QuestionHow to Create web widgets with ASP.net ? Pin
rok_00726-Feb-09 14:41
rok_00726-Feb-09 14:41 
AnswerRe: How to Create web widgets with ASP.net ? Pin
Expert Coming26-Feb-09 20:59
Expert Coming26-Feb-09 20:59 
QuestionAddressing the *Home* folder - javascript [modified], Yes question revamped. Pin
Smith#26-Feb-09 6:17
Smith#26-Feb-09 6:17 
AnswerRe: Addressing the Root folder - javascript Pin
Johnny ²26-Feb-09 20:44
Johnny ²26-Feb-09 20:44 
QuestionRe: Addressing the Root folder - javascript Pin
Smith#26-Feb-09 22:58
Smith#26-Feb-09 22:58 
AnswerRe: Addressing the Root folder - javascript Pin
Johnny ²27-Feb-09 21:34
Johnny ²27-Feb-09 21:34 
QuestionCan I insert image & button on the right-side of a table? Pin
THA200026-Feb-09 2:33
THA200026-Feb-09 2:33 
AnswerRe: Can I insert image & button on the right-side of a table? Pin
led mike26-Feb-09 4:39
led mike26-Feb-09 4:39 
AnswerRe: Can I insert image & button on the right-side of a table? Pin
Smith#26-Feb-09 6:25
Smith#26-Feb-09 6:25 
GeneralRe: Can I insert image & button on the right-side of a table? Pin
THA200026-Feb-09 10:09
THA200026-Feb-09 10:09 

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.