Apache Problem
Blitz3D Forums/Blitz3D Programming/Apache Problem
| ||
I am trying to make a POST Request from Blitz to an Apache 1.3.24 Server work. But for some reason it refuses to work: when I send the Request etc. using WriteLine to the Stream, Apache says "Error in PHP4TS.DLL ...". Surprisingly it works when I send the same Request from a Browser. I have monitored the Requests content with a little Blitz Websever, and as far as I see the both Requests are identlical. I also tried to use something like writeline stream, line$+chr$(10) But then the server seems to mess up the lines of the request, telling me the Host was not defined, although I clearly defined it exactly the same way as the browser did. Can somebody tell me how such a line should be delimited, Ascii 13, 10, both or what else may be wrong? Thank you. |
| ||
Ok, problem solved. There was that tiny evil "--" that I had to add to the last "boundary" line. Anyway, semar made it work sometime ago, but he kind of forgot to post it in the code archive. That's what I will do. |