Using ExecFile(URL) with GET method?
Blitz3D Forums/Blitz3D Programming/Using ExecFile(URL) with GET method?
| ||
Hi all, Another of my once-every-6-months posts! ExecFile works to open a simple local or webpage URL, but is there any way to pass GET values? If I call ExecFile("test.html")it opens the page fine, but ExecFile("test.html?name=Wunderbar")doesn't launch the browser. I want to send user data to the web page without the user having to type it all in a second time. |
| ||
I think it's ebcause the "test.html?name=" isn't strictly set as a MIME type for web-browser without it being added manually Maybe there's a way to have some form of commandline? ExecFile("BROWSERPATH_HERE \test.html?name=Wunderbar" Or set the mime type in the registry classes. You can test if it will work byu typing the line into the Start/Run window |
| ||
Thanks for the suggestion. However, problem solved! I found it works online even if not offline. Running a WAMP localhost, I can test as if on the web. |