Karl Blessing
Programmer
I need to find out if VC++ has a URL Encode, if not, i'll need to make a function, when a string(or character array) is passed itno it, the following things will change<br>
1) a-z, A-Z, 0-9 remain the same<br>
2) all spaces are changed to +<br>
3) all other charaters are converted to %xy where xy is the two digit hexidecimal intepretation of the ANSI table's lower bit(0-128)<br>
<br>
for example somehting like "hi my name is Karl! whats your name?" would become "hi+my+name+is+Karl%98+whats+your+name%23" (the numbers arnt real i just guessed), reason i need this, is cuz my VC++ program, opens a ASP URL which sends an email for me, by the parameters i pass, it's saftest to encode the messages with this method, so that none of the characters passed will affect the ASP's decoding of the parameter, like an amperstand would really cause a prob.<br>
<br>
I'll be working on this, but I was hoping some might have a quick method of just converting these. <p>Karl<br><a href=mailto:kb244@bellsouth.net>kb244@bellsouth.net</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(hehe, yea it was 4.5 too, least i didnt start with COBOL)
1) a-z, A-Z, 0-9 remain the same<br>
2) all spaces are changed to +<br>
3) all other charaters are converted to %xy where xy is the two digit hexidecimal intepretation of the ANSI table's lower bit(0-128)<br>
<br>
for example somehting like "hi my name is Karl! whats your name?" would become "hi+my+name+is+Karl%98+whats+your+name%23" (the numbers arnt real i just guessed), reason i need this, is cuz my VC++ program, opens a ASP URL which sends an email for me, by the parameters i pass, it's saftest to encode the messages with this method, so that none of the characters passed will affect the ASP's decoding of the parameter, like an amperstand would really cause a prob.<br>
<br>
I'll be working on this, but I was hoping some might have a quick method of just converting these. <p>Karl<br><a href=mailto:kb244@bellsouth.net>kb244@bellsouth.net</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML, ASP(somewhat), QBasic(hehe, yea it was 4.5 too, least i didnt start with COBOL)