Can I pass parameters to the exe?

I’ve registered my app as a protocol handle in the registry and would like to pass parameters like %url% via the browser - is this possible? I var_dump’d $GLOBALS, $arv & $argc and I couldn’t see anything.

Thanks

Sorry, I figured this out. I should read the documentation first :|. If anyone’s interested, here’s the HEscript:

function GetPassedParameter(p_iIndex:Integer): String;
begin
 Result := ParamStr(p_iIndex);
end;  

Then in the PHP file:

<?php
print_r(exo_return_hescriptcom("MyScript.GetPassedParameter|1","HESCRIPT_MISSING"));
?>  

Admin: feel free to delete this pointless thread!

This topic was automatically closed after 24 hours. New replies are no longer allowed.