Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2002-09

uncgi Update

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Weinert

-----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
-----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-----

Reply by email

Unknown author
to Michael Weinert
Michael Weinert wrote 8 lines
-----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:

I added it to the interface.

Michael.

Reply by email