Hello all, this has been asked on here before, but not answered - but I think I have a new approach for this which might help find an answer....
If I have a simple login PHP script sitting on my server, I can access it using a web string like so (in C#):
"http://www.mywebsite.com/login.php?username=" + username + "&" + "password=" + password + "&"
Depending on how that PHP file is set up, running that line will return a value that I can use to determine whether the login was successful or not.
If you do this in a web browser, it just shows a web page containing the return value.
So, it's already well established that we can download a file off the web using the following code:
function download(from$,to$)
if file exist(to$) then delete file to$
load dll "urlmon",1
failed=CALL DLL(1,"URLDownloadToFileA",0,from$,to$,0,0)
delete dll 1
endfunction failed
But how about just CALLING a webpage... Or perhaps one could use the above code to just save the result of a PHP call string to a file, read it in, and then delete it?
Thoughts? I imagine this may help people out in a big way if we can get it working well, since it will mean people can make server-based interaction from right within their program!