Hi all,
So in my application I use urlmon to return PHP calls using the following function:
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
However I'm running into an odd problem. If I call the same script twice, it will always return the same value the second time, despite the data being updated on the server (I have a browser open while I run the project to see the MySQL server in real-time). It doesn't matter what the PHP script is, either. The first time the script is run, it will work perfectly and return the correct information. All subsequent times it is run using the above function it will return the same thing from the call, despite the data having changed on the server.
It's not an issue with the PHP script itself, since a) it updates on the server just fine and b) if I close my program and run it again the call will work just fine again (and then fail again on all subsequent executions)
Is there some way to simulate the "dll reset" which would happen upon closing my program and re-opening it again? I would have thought that deleting the DLL would have done it, but apparently not...