CATT
asked on
CGI4VB problem, or how2 general CGI.exe in VB5
I have got a problem;
I have made some CGI in VB5pro, in CGI4VB.
It worked fine as installed on my local thing here, but now I have uploaded my script to the server, and get a stament like this;
"CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:"
..and here my page follows, in the HTML source it looks so;
"<head><title>Error in CGI Application</title></head>
<body><h1>CGI Error</h1>The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:<p><p><pre>"
..and my page again as created, but messed up by the <PRE> thing.
I use CGI4VB 1.5, the host of the server use ofcource NT.
Is this a CGI4VB problem, and if, and I can therefor not use it my Q goes;
1; How do I create working CGI in VB5, RAW!
2; I then need the nessesary commands, for fx SEND like in CGI4VB, or PRINT like i think it goes in PERL. ..also the commands for reciving the form input, that my user will send by (???) <FORM ACTION=/cgi-bin/myexe.exe? ...
Thank you! ... hope it's just a correction I need in the CGI4VB.. (but I can not change host!)
I have made some CGI in VB5pro, in CGI4VB.
It worked fine as installed on my local thing here, but now I have uploaded my script to the server, and get a stament like this;
"CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:"
..and here my page follows, in the HTML source it looks so;
"<head><title>Error in CGI Application</title></head>
<body><h1>CGI Error</h1>The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:<p><p><pre>"
..and my page again as created, but messed up by the <PRE> thing.
I use CGI4VB 1.5, the host of the server use ofcource NT.
Is this a CGI4VB problem, and if, and I can therefor not use it my Q goes;
1; How do I create working CGI in VB5, RAW!
2; I then need the nessesary commands, for fx SEND like in CGI4VB, or PRINT like i think it goes in PERL. ..also the commands for reciving the form input, that my user will send by (???) <FORM ACTION=/cgi-bin/myexe.exe?
Thank you! ... hope it's just a correction I need in the CGI4VB.. (but I can not change host!)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Note: The line: "Content-type: text/html" & vbCrLf
is the syntax for assigning the data to a string and wouldn't include quotes or the VB concatenation symbol when sent as part of an HTTP send.
is the syntax for assigning the data to a string and wouldn't include quotes or the VB concatenation symbol when sent as part of an HTTP send.
ASKER
mrMick.... you are The Man of the day!!
****ing gr8 this is.
:)))
Content-type: text/html" & vbCrLf...was the thing, phew, I ... thanks!
****ing gr8 this is.
:)))
Content-type: text/html" & vbCrLf...was the thing, phew, I ... thanks!
Result: 5 topics
https://www.experts-exchange.com/jsp/qShow.jsp?ta=webauthor&qid=10144280
https://www.experts-exchange.com/jsp/qShow.jsp?ta=cgi&qid=10171172
https://www.experts-exchange.com/jsp/qShow.jsp?ta=cgi&qid=10172497
https://www.experts-exchange.com/jsp/qShow.jsp?ta=cgi&qid=10015072
https://www.experts-exchange.com/jsp/qShow.jsp?ta=cgi&qid=10027128
Want to perform another search?
Take a look at https://www.experts-exchange.com/jsp/qShow.jsp?ta=commspt&qid=10167777