[fpc-pascal] freepascal and apache

Alexey Voytsehovich ironwit at gmail.com
Wed Oct 7 09:01:36 CEST 2009


hi.

this code

--
uses SysUtils, httpd;

function read_Post(r: Prequest_rec; data: string): boolean;
var
  types: string;
begin
  Result := True;
  if (r^.method_number <> M_POST) then
    Exit;
  ap_set_content_type(r, 'text/html');
  types := ap_table_get(r^.headers_in, 'Content-Type');
end;
--
dont compile :( say me Error: Identifier not found "ap_table_get"

help me please? sorry about stupid question

  

-- 
Best regards,
 Alexey Voytsehovich                          mailto:ironwit at gmail.com




More information about the fpc-pascal mailing list