Hello,
Is there a way to prohibite the duplicate file in Data directory when the file allready exist compiled in software ?
Thank-you,
Gilbert
Hello,
Is there a way to prohibite the duplicate file in Data directory when the file allready exist compiled in software ?
Thank-you,
Gilbert
Hi,
Yes, it is a solution, the problem is that my customers need to have a drive disk with the same letter that the one for virtual folder, or not !
Thank-you,
Gilbert
Why?
Is it because you ask them to place files into a subdirectory?
I need my php home page compliled in .exe to reconize the path of .exe folder installation.
Something that I don’t get with php when using virtual path after trying all php function knowed, I only get the windows drive letter and windows user name folder but not the folder path of .exe.
Solution of course is to ask my clients to install .exe in root windows user name folder.
Thank-you,
Gilbert
Ok, I found the solution to get path :
function GetRootPath: String;
begin
S := IncludeTrailingBackslash(ExtractFilePath(GetGlobalVar(“HEPublicationFile”,“”)));
Result := S;end;
And then :
$path = exo_return_hescriptcom (‘MainUser.GetRootPath’, ‘’);
echo $path;
THANK YOU @Gilmichel for sharing your solution. Few months back I beat my head on desk trying to figure this one out.
Yes, and it is also possible to make it shorter :
function GetRootPath: String;
begin
S := ExtractFilePath(GetGlobalVar(“HEPublicationFile”,“”));
Result := S;end;
…and to get the path of your .exe :
function GetRootPath: String;
begin
S := GetGlobalVar(“HEPublicationFile”,“”);
Result := S;end;