Code: Select all
DC_SpawnURL( 'https://aidos.byethost5.com/index.php', .T., .T. )
Code: Select all
DC_SpawnURL( 'https://aidos.byethost5.com/index.php', .T., .T. )
Code: Select all
FUNCTION DC_SpawnURL( cUrl, lBackground, lAsync )
LOCAL cParams, cCommand
DEFAULT lBackground := .F., ;
lAsync := .t.
cParams := 'url.dll,FileProtocolHandler ' + Alltrim(cURL) // + ;
// IIF('?'$cUrl,'','?')
cCommand := 'Rundll32.exe'
RunShell( cParams, cCommand, lAsync, lBackground )
RETURN 1
Code: Select all
cFile := LoadFromURL('http://aidos.byethost5.com/index.php')
LoadFromURL will simply return the content of the index.php file as a string.The LoadFromURL function starts the file index.php for execution or just reads it?
I don't know of any.Are there any other functions (not DC_Spawn URL()) to launch a website for execution?
Eugene Lutsenko wrote: ↑Mon Mar 07, 2022 11:02 pm Thank you, Roger! Are there any other functions (not DC_Spawn URL()) to launch a website for execution?
P.S. I also walk the dog in the morning and drink coffee, more precisely chicory:)