Eric Smith
July 15th, 1999, 01:13 PM
Hi.
I need to post data to a cgi.
I create a socket using CSocket::Create(); That works fine.
I connect to the machine usint CSocket::Connect("www.address.com",80); That works fine.
Now I am left with either making a CSocketFile or using CSocket::Send(); The problem is that the cgi I need to send to is not in the root directory of the host. IE it is at "www.address.com/somedir/somedir-cgi/here.cgi". I have been raking the CSocket information of VC6 for anything, but it looks like everything has to go to the root. Can anyone shed light on this problem?
I need to post data to a cgi.
I create a socket using CSocket::Create(); That works fine.
I connect to the machine usint CSocket::Connect("www.address.com",80); That works fine.
Now I am left with either making a CSocketFile or using CSocket::Send(); The problem is that the cgi I need to send to is not in the root directory of the host. IE it is at "www.address.com/somedir/somedir-cgi/here.cgi". I have been raking the CSocket information of VC6 for anything, but it looks like everything has to go to the root. Can anyone shed light on this problem?