http connection post question
Hello people. Does anyone know if it is possible to post a variable to a c++ http tunnel or http connection. In php you can do this when you want to qualify someone on an email varification. People do this in a message so when someone clicks on the link to a web site, that link will contain a post variable it looks something like this.
php
href="http://www.someting.com?date=9/15/05&age=21">
I wanted to be able to receive the post from a email click , from a c++ program using an http connection instead of using a whole web site. This is likely possible in my mind. In the the link above that variable date is written in php. I doubt that would work in a c++ http connection does anyone know of this being done in a c++ compatible way, thanks.
jonnyboy12
Junior Poster in Training
80 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0
Yes thank you for that good code . Do you know how i would write the a href link that i would put in my emails from the example i used above, a link that would be compatible with a c++ socket?
jonnyboy12
Junior Poster in Training
80 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0
this link needs to have a varable of some sort tacked on the end.
jonnyboy12
Junior Poster in Training
80 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0
Interesting stuff very new to me, was tough to understand for a minute. So i can use a href with a added value, but it has to be split so that the web site will be read properly?
jonnyboy12
Junior Poster in Training
80 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0
Im not full sure of what you sent me, that looks like an html document. I know php very well, and i know that if you use a href with a variable on the end, you extract it on your web site after the ahref has been click by someone, with the $_REQUEST. I dont have any web site though, thats the point of my post. I want to use an href in a message, with a variable thats for c++ not php. I just got this idea because i used to use php and knew about email validation tecniques. I want to recieve validation from c++ server froma c++ variable in the href, with no web site, and no php. It seems possable that why i braught up using a url connection , so that i could use its GET on the href c++ variable when the link is clicked. If you dont know dont bother though, thanks for your time. I will continue my research.
jonnyboy12
Junior Poster in Training
80 posts since Mar 2010
Reputation Points: 10
Solved Threads: 0