Abubakar
2007-05-03 15:30:36 UTC
Hi,
I've written some code using wininet functions (HttpOpenRequest etc). I'm
calling a url through my code passing it parameters in the format :
http://someip.com?id=3&messagebody=hello world
something like above. Now the above parameter *messagebody* is composed of
some text sentences which also have the ascii characters 13 and 10 as part
of it (cuz it was taken from a textbox). The problem is that when this text
goes to the server through this url's messagebody param, the 13 and 10 ascii
codes disappear. What can I do so that the 13 and 10 ascii codes are
preserved? The text that I'm sending has a to be stored in a data base and
later on retrieved.
Regards,
..ab
I've written some code using wininet functions (HttpOpenRequest etc). I'm
calling a url through my code passing it parameters in the format :
http://someip.com?id=3&messagebody=hello world
something like above. Now the above parameter *messagebody* is composed of
some text sentences which also have the ascii characters 13 and 10 as part
of it (cuz it was taken from a textbox). The problem is that when this text
goes to the server through this url's messagebody param, the 13 and 10 ascii
codes disappear. What can I do so that the 13 and 10 ascii codes are
preserved? The text that I'm sending has a to be stored in a data base and
later on retrieved.
Regards,
..ab