[fpc-pascal]uncgi Update

Michael Weinert weinert at sys2.de
Thu Sep 12 18:25:21 CEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi List,

i just had the problem, that I couldn't get the requestet url in the 
uncgi-unit. So I searched, and found it ;-)
So anybody who wants to implement this, here it comes:

Unit uncgi Interface Part:

{Function to get the requestet url}
function http_url: pchar;

in the implementation part do this:

function http_url: pchar;
begin
  http_url:=getenv('REQUEST_URI');
end;

==== 
I know, this is simple, but it saves time searching in the future ;-)

See ya, Michael.


- -- 

 Key fingerprint = 3D66 5A8F 53C0 3AD3 3470  74A6 64AC 55D1 8AFB B436

                     SysQuadrat
    Michael Weinert Stuttgart Filderstadt-Plattenhardt
  Tel.: 0711-9970288 Fax: 5360559 Mobil: 0170-4141273
   http://www.linux-firewall.de  weinert at sys2.de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9gL/yZKxV0Yr7tDYRAsJgAJ0cSx1DuWLkvHtACSNcilaLPyFC9QCfdNqf
GKlzePmsu7oGNR0w5AbCX9E=
=UpMM
-----END PGP SIGNATURE-----





More information about the fpc-pascal mailing list