Pascal
> -----Original Message-----
> From: Shahzad.Butt [mailto:[EMAIL PROTECTED]
> Sent: 16 September 2004 13:10
> To: CF-Talk
> Subject: Storing CGI vars in text file using HTTP Post
>
> Hi
>
>
>
> I am trying to use HTTP POST to send the cgi vars to a cfm file which
> store all the cgi vars in a text file. But the text file has all those
%
> in it. My code is as follows
>
>
>
> <cfhttp method = "post" url =""> "http://Intranet-Dev/PhoneTest/test.cfm">
>
>
>
> <cfhttpparam
>
> name = "cgiVar" type = "CGI" value =
> "CGI.AUTH_TYPE:#CGI.AUTH_TYPE# --
> CGI.CONTENT_LENGTH:#CGI.CONTENT_LENGTH# --
> CGI.CONTENT_TYPE:#CGI.CONTENT_TYPE# -- CGI.PATH_INFO:#CGI.PATH_INFO#
--
> CGI.PATH_TRANSLATED:#CGI.PATH_TRANSLATED#
>
> CGI.QUERY_STRING:#CGI.QUERY_STRING# --
> CGI.REMOTE_ADDR:#CGI.REMOTE_ADDR# -- CGI.REMOTE_HOST:#CGI.REMOTE_HOST#
> #CGI.REMOTE_USER# #CGI.REQUEST_METHOD# #CGI.SCRIPT_NAME#
> #CGI.GATEWAY_INTERFACE# #CGI.SERVER_NAME# #CGI.SERVER_PORT#
> #CGI.SERVER_PROTOCOL# #CGI.SERVER_SOFTWARE# #CGI.CERT_ISSUER#
> #CGI.CERT_SUBJECT# #CGI.CLIENT_CERT_ENCODED# #CGI.HTTP_ACCEPT#
> #CGI.HTTP_IF_MODIFIED_SINCE# #CGI.HTTP_USER_AGENT#">
>
> </cfhttp>
>
>
>
> Test.cfm
>
>
>
> <cffile action="" file="C:\HTTPTest.txt" output="
>
>
>
> [#DateFormat(Now())# #TimeFormat(Now())#]
>
>
>
> CGI Vars from file are: #CGI.cgiVar#"
>
> >
>
>
>
> Is there any other better way of doing it?
>
>
>
> Shaz
>
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential
> and intended solely for use by the individual or entity to
> whom it is addressed. If you have received this e-mail in
> error, kindly notify [EMAIL PROTECTED] or call
> +44 1992 701 704. Unless stated otherwise, please note
> that any views or opinions expressed in this e-mail are solely
> that of the author and are not necessarily of
> JJ Fast Food Distribution Limited. The company can not
> assure that the integrity of this communication has been
> maintained nor that it is free of errors, virus, interception or
> interference. The company accepts no liability for any
> damage caused by this email. JJ Fast Food Distribution
> Limited reserves the right to monitor and or record e-mail
> without prior notification.
> **********************************************************************
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

