Btw you dont need http at all in local website only relative i.e.
/Plouf/info.php. If is hosted in ssl website will be ssl
Thats the server/client responsibility not yours
Procedure HttpGetEvent(Success, Result$, UserData) ; HTTPInfo() can also be used to get more info about the request result If Success Debug Result$ Else Debug "HTTPRequest(): Error" EndIf EndProcedure
the problem is that local access to files, has been cut out to browsers since decades. the reason was malware issues!
you can do it with cordova plugin, but you need to compile the app. Currently SpiderBasic has build in support for android/ios easy creation, you can compile for windows 8/10 app ...
yes he wants to prevent users to take screenshots liek for example you can prohibit printing using css Spiderbasic do NOT support it native, you MAY do it, up to a point using cordova overlay module, but need deep searching
however its not really possible to prevent it , you can only block normal ...
you cant direct access local drive files in a webbrowser (like a purebasic program can)
you can only use filerequest to let user to specifically use and open first ! (security shit)
php code runs in a webserver, so this code must located in webserver , you call like any other page i.e
if for example i want to execute an example.php script located in webserver HTTPRequest(#PB_HTTP_Get, "http://www.stefan.com/example.php, "", @callbackHttpGetEvent())