Delphi5有个TNMHTTP控件,下面的Delphi帮助的英文原文,自己看吧,有问题再商量
Declaration
procedure Get(URL: string); virtual;
Description
The Get method retrieves the document specified by the URL parameter.
If InputFileMode is TRUE, the document retrieved by the Get method is stored in the file that is specified by the Body property, and the header is stored in the file that is specified by the Header property.
If InputFileMode is FALSE, the document retrieved by the Get method is stored in the Body property as a string. The header is stored in the Header property as a string.
Parameters:
The URL parameter specifies the document to retrieve.
Note:
If the operation is successful, the OnSuccess event is called, passing CmdGET as the Cmd parameter.
If the operation fails, the OnFailure event is called, passing CmdGET as the Cmd parameter.