I have a php file on my webspace that uses my computername and Username when I send it.
I have no problem gathering the this information. The problem is sending it without opening a browser window.
I have never done any socket prog. so I would rather not go this route. I have tried the following commented out parts below.
And have tried pinging the site. Non of this seems to activate the php file.
So My question in simple form would be:
How do I access a url, without opening a browser window. Allowing my php file to use the variable in the url.
I have posted my current simplified code below:
#define MX 500
int APIENTRY WinMain(HINSTANCE hInstance,
char cName[MX] = "NULL";
char uName[MX] = "NULL";
unsigned long bufSize = MX;
// get Computer and User name
",cName , uName);
// ShellExecute(NULL, "open", str, NULL, NULL, SW_HIDE); //tried no file written
NULL); //tried no file written