rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: Mars on November 15, 2007, 09:39:51 PM
-
connais tu quelqu'un qui a dejà reussi à compiler hfs en dehors de toi?
-
i don't remember who, but some did it, yes.
it may be tricky at times, but it is not arcane.
-
main.pas build 145
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;
-
who needs it? no one ever asked
-
ME!
Little gifts like that which miss of this from there and which can serve and do not require a lot of work.
Who knows a day that can help somebody!
and full of another proposal from me!
I have a very big idea for accelerate the treatments of listing in hfs but we shall see that for much more late.
A full of little things must be done before.
Now it's time to sleep and to have for you a Happy Birthday.... ;)
-
ME!
ok, you need it.
can i ask you how you would use it?
-
Hard in business the rejetto ;D
sorry i forget to ask adding %host-name% ???
%host% is similar to %host-name%:%port%
but we cannot separate them
if I propose to you something who works can you include it into next build?
javascript is more difficult for me , i prefere making some changes in delphi.
I prefer to write %port% instead <script .....> function...... </script>
it is more efficient to do what others cannot
-
in the while you can already do it with javascript
-
Just out of curiousity: Where are you going to use it for?
-
It comes to the same thing one limps space sometimes that itches to fill it.
Certain things are not in place them or badly defined, and then I try to fill the space.
-
i didn't understand your last post,
but i created {{substring}} that should fit your needs