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.


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;
 Result := ParamStr(p_iIndex);

Then in the PHP file:


Admin: feel free to delete this pointless thread!

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