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...
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
I was able to create a .reg file with the protocol information. I think I’ll create a separate wrapper script to install the program along with the reg file. Here’s .reg source for anyone who’s interested:
REGEDIT4
[HKEY_CLASSES_ROOT\myapp]
@="URL:myappProtocol"
"URL Protocol"=""...
Could this registry key be created in the installation process or via a macro in call in a PHP script? Or would I need to create a custom installation program?
Thanks
I’m trying to compile a single file, index.php containing this syntax:
<?php echo "Hello World"; ?>
Every time I get “The process cannot access the file because it is being used by another process”. I also get a different compilation error when trying to compile the sample program - “Device not...