1891
HFS ~ HTTP File Server / Re: %new% resolved, Cookies are not necessary
« on: November 20, 2007, 01:53:17 AM »
The implementation in hfs is soon ended, the interface with template is at the end of study.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Wouldn't that require some kind of database? storing all that data inside a .ini file cant be good if you have +50 users. and +5000 files
Taccount = record // user/pass profile
user, pwd, redir: string;
enabled, noLimits: boolean;
end;
Taccount = record // user/pass profile
user, pwd, redir: string;
enabled, noLimits: boolean;
timecreate,timenew: Tdatetime;
end;
// apply 3 times the table because symbols can generate symbols
...
result:=diffTpl[''];
if conn.state = HCS_DISCONNECTED then exit;
// apply 3 times the table because symbols can generate symbols
result:=x_template(result, table);
result:=x_template(result, table);
applySequential();
md.cd:=conn.data;
md.tpl:=diffTpl;
md.folder:=folder;
result:=applyMacros(result, cbMacros, @md);
result:=x_template(result, table);
result:=x_template(result, [
'%build-time%', floatToStrF((now()-buildTime)*SECONDS, ffFixed, 7,3)
]);
...
...
result:=diffTpl[''];
if conn.state = HCS_DISCONNECTED then exit;
// apply 3 times the table because symbols can generate symbols
result:=x_template(result, table);
result:=x_template(result, table);
md.cd:=conn.data;
md.tpl:=diffTpl;
md.folder:=folder;
result:=applyMacros(result, cbMacros, @md);
result:=x_template(result, table);
//
result:=applyMacros(result, cbMacros, @md);
result:=x_template(result, table);
applySequential();
result:=x_template(result, [
'%build-time%', floatToStrF((now()-buildTime)*SECONDS, ffFixed, 7,3)
]);
...
a:=tpl.getSyms();
for i:=0 to length(a)- 1 do
addArray(result, ['%'+a+'%', tpl[a]]);
if assigned(conn) then
addArray(result, [
'%host%', conn.getHeader('host'),
'%ip%', conn.address,
'%port%', srv.port,
'%ip2name%', localDNSget(conn.address),
'%lang%', copy(conn.getHeader('Accept-Language'),1,2)
]);
if folder = NIL then exit;
I doubt even rejetto would be pleased to have you spamming the beta forum with false build releases.