RE: cfhttp

2002-11-10 Thread Josh Trefethen
Use ssl if you want the password to be encrypted as it is sent...

--
Josh Trefethen

:[ Exciteworks, Inc ]::[ http://exciteworks.com ]:. 
::[ cf hosting on linux ]::[ consulting ]::[ expertise ]::.

-Original Message-
From: michael firth [mailto:firthman2000@;yahoo.com] 
Sent: Sunday, November 10, 2002 6:36 PM
To: CF-Talk
Subject: cfhttp

Hey gang,

Got a question about cfhttp.  Here is my question:  In the cfhttp tag, I
need to fill in the url, username, and password fields.  I was wondering
if anybody has any suggestions on any way dynamically retrieving this
info to place in the tag so to make it more hack proof.

What I am trying to do is send a formfield from a remote host to a local
server and just want to find ways to protect the info for security
reasons.  I am using CF 5.0

Thanks,

Michael Firth



-
Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm



RE: CFHTTP

2003-02-18 Thread Dave Watts
> How do I pass the following CFHTTP only when a text 
> link is clicked?
> 
> I tried wrapping it in a  but I couldn't 
> get it to work. Should I be doing this some other way 
> besides cfhttp? What I want to do is pass hidden vars 
> between servers (not using plain hidden fields inside 
> a form which can be exposed).

When the user clicks the link, you can send them to a page which runs the
CFHTTP tag. That's about it, really.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4




RE: CFHTTP

2000-08-02 Thread Anthony Geoghegan

Hi Kevin,

|I was looking into CFHTTP and was wondering if I could use it 
|to load a page
|without displaying said page.

I had a similar problem with a submitted form.  I got arround it by
directing the submitted form to a hidden frame on the page.
Presto apparently no page.

Have a look at the vote in the sports section of our site, when a vote is
cast a form is submitted the page that we submit the form to apparently
doesn't get executed ;-).

Regards,
Anthony Geoghegan
Lead Developer
Ireland Film and Television Net
26 South Frederick Street
Dublin 2
Ireland
Tel: +353 1 671 3664
Fax: +353 1 671 0763
Web: www.iftn.ie www.wow.ie
mailto:[EMAIL PROTECTED]

NOTICE:
This communication is confidential.  The copyright in this communication
belongs to Ireland Film & Television Net (IFTN) or a third party.

If you are not the intended recipient of this communication please delete
and destroy all copies and telephone IFTN on +353 1 671 3664 immediately.
If you are the intended recipient of this communication you should not copy,
disclose or distribute this communication without the authority of IFTN.

Any views expressed in this communication are those of the individual sender
except where the sender specifically states those are of view of IFTN.

Except as required by law IFTN does not represent, warrant, and/guarantee
that the integrity of this communication has been maintained or that the
communication is free of virus, interception or interference.

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: CFHTTP

2000-08-02 Thread Gene Kraybill

"Kevin Queen" <[EMAIL PROTECTED]> wrote:

> I was looking into CFHTTP and was wondering if I could use it to load a page
> without displaying said page.

No problem. Just include a CFHTTP tag pointing to the desired page, but skip the 
normal step of using CFHTTP.FileContent to display the contents

Gene Kraybill
LPW & Associates
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFHTTP

2000-08-08 Thread dougn

Just a random thought, but I know that the term "URL" is now a reserved word
in CF 4.5x  So if you use URL as a variable name in 4.x it won't work in
4.5x

--Doug

-Original Message-
From: Brian L. Wolfsohn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 11:14 AM
To: [EMAIL PROTECTED]
Subject: CFHTTP


We've successfully used cfhttp in a cf 4.01 environment.  I'm trying to run 
the same code on a cf 4.51 box now, and am getting the message "connection 
failure" being returned by the cgi program cfhttp is running.  same code is 
working on other boxes w/ 4.01.  So, i could havbe a mis-configured box, or 
is there some code imcompatibility between 4.5.1 and 4.0.1 in the cfhttp 
area ??



Brian L. Wolfsohnhttp://www.cus.com
CUS Business Systems Ft.Lauderdale,FL
Software for Auctioneers (954) 565-5600 Email:[EMAIL PROTECTED]

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFHTTP

2000-08-08 Thread Scott Mulholland

We encountered this as well but only in some of the places we were using
cfhttp...we had to use cfx_http to get it working again.  If I recall
correctly it had to do with the headers being sent.

Hope this helps,
Scott

-Original Message-
From: Brian L. Wolfsohn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 08, 2000 2:14 PM
To: [EMAIL PROTECTED]
Subject: CFHTTP


We've successfully used cfhttp in a cf 4.01 environment.  I'm trying to run 
the same code on a cf 4.51 box now, and am getting the message "connection 
failure" being returned by the cgi program cfhttp is running.  same code is 
working on other boxes w/ 4.01.  So, i could havbe a mis-configured box, or 
is there some code imcompatibility between 4.5.1 and 4.0.1 in the cfhttp 
area ??



Brian L. Wolfsohnhttp://www.cus.com
CUS Business Systems Ft.Lauderdale,FL
Software for Auctioneers (954) 565-5600 Email:[EMAIL PROTECTED]

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Cfhttp

2003-07-14 Thread Robertson-Ravo, Neil (RX)
erm... I would say no, as it would be unsafe...though someone may know how.

-Original Message-
From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
Sent: 14 July 2003 13:46
To: CF-Talk
Subject: Cfhttp


Hello

Is there any way to preserve session state over cfhttp... Im doing multiple
requests on a web page, and the page uses sessions, and so I cant login etc
via cfhttp as it doesn¹t seem to preserve sessions...

TIA,
Ryan


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Cfhttp

2003-07-14 Thread Dave Watts
> > Is there any way to preserve session state over cfhttp...
>
> erm... I would say no, as it would be unsafe...though 
> someone may know how.

Why would it be unsafe? Or at least, why would it be any less safe than any
other HTTP client?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Cfhttp

2003-07-14 Thread Philip Arnold
> Is there any way to preserve session state over cfhttp... Im
> doing multiple requests on a web page, and the page uses
> sessions, and so I cant login etc via cfhttp as it doesn¹t
> seem to preserve sessions...

If you can pass the CFID and CFTOKEN via the URL, it should keep the
same state... But you'd need to know them before you started the CFHTTP




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Cfhttp

2003-07-14 Thread Dave Watts
> Is there any way to preserve session state over cfhttp... 
> Im doing multiple requests on a web page, and the page 
> uses sessions, and so I cant login etc via cfhttp as it 
> doesn¹t seem to preserve sessions...

Yes, you can preserve session state. You'll need to return the session token
on each subsequent request. If that token is a cookie, you'll have to send
back a cookie with the right value. If the token is appended to the URL,
you'll have to do the same. CFHTTP doesn't do any of this automatically for
you.

Now, to send values to the remote server using CFHTTP, you'd typically use
the CFHTTPPARAM tag, but that does require that you use METHOD="POST" in
your CFHTTP tag. If that's a problem, you'll have to find an alternative way
to send your data. Check last week's thread "is there a cfheader type tag
for cfhttp?" for details.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Cfhttp

2003-07-14 Thread Robertson-Ravo, Neil (RX)
Dunno, its Mondayisnt everything unsafe ;-)



-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 14 July 2003 14:11
To: CF-Talk
Subject: RE: Cfhttp


> > Is there any way to preserve session state over cfhttp...
>
> erm... I would say no, as it would be unsafe...though 
> someone may know how.

Why would it be unsafe? Or at least, why would it be any less safe than any
other HTTP client?

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Cfhttp

2003-07-14 Thread Mark A. Kruger - CFG
Ryan,

Read the header information from the first request and find the CFID and the
CFTOKEN (cookies), then pass them back in subsequent requests as url
variables.

-mark

-Original Message-
From: Ryan Mitchell [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 7:46 AM
To: CF-Talk
Subject: Cfhttp


Hello

Is there any way to preserve session state over cfhttp... Im doing multiple
requests on a web page, and the page uses sessions, and so I cant login etc
via cfhttp as it doesn¹t seem to preserve sessions...

TIA,
Ryan


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: cfhttp

2002-08-09 Thread Philip Arnold - ASP

> on the cfhttp tag for username and password.. is it wanting
> a system pasword or a username and password to login to a
> cold fusion tag?

It's the username and password that would popup in the dialog box when
you go to browse the location

If the directory isn't secured, then you leave them out

Philip Arnold
Technical Director
Certified ColdFusion Developer
ASP Multimedia Limited
Switchboard: +44 (0)20 8680 8099
Fax: +44 (0)20 8686 7911

www.aspmedia.co.uk
www.aspevents.net

An ISO9001 registered company.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2002-03-28 Thread Dave Watts

> I have to run a shell script in a Linux server(I have all 
> the permissions) using a cold fusion page but my cold 
> fusion is runing in a Windows NT. Can i use cfhttp type=POST 
> (CGI).? If yes how can i get the output(text printed on 
> the scream) into a variable?

Probably not, since you said it was a shell script that you wanted to run.
CFHTTP would require that you have a web server and CGI script on the Linux
server.

You could write a batch file on your Windows server to handle connecting via
telnet or ssh to the Linux box, and running the script, and capturing the
output from the script. You could then call that batch file from CFEXECUTE.
Note that this will be complicated, probably, and may be difficult to debug.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2002-04-15 Thread Paul Giesenhagen

Works for me just fine ... It may be a problem with some type of http
settings... dunno what it could be though!

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector v2.0 - Commerce Builder



> I can go to http://www.yahoo.com
>
> When I try to do a  to http://www.yahoo.com I get a Connection
> Failure message.
>
> Any clues?
>
> T
>
> 
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2002-04-15 Thread Jerry Johnson

Post your cfhttp code?

Jerry

>>> [EMAIL PROTECTED] 04/15/02 03:43PM >>>
Works for me just fine ... It may be a problem with some type of http
settings... dunno what it could be though!

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com 
SiteDirector v2.0 - Commerce Builder



> I can go to http://www.yahoo.com 
>
> When I try to do a  to http://www.yahoo.com I get a Connection
> Failure message.
>
> Any clues?
>
> T
>
> 

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2002-04-15 Thread Garza, Jeff

Are you running behind a Proxy? A Firewall that requires Authentication?
These are the usual suspects... Post the code.

Jeff Garza
Lead Developer/Webmaster
Spectrum Astro, Inc.
[EMAIL PROTECTED]
http://www.spectrumastro.com


-Original Message-
From: Tim Claremont [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 15, 2002 12:34 PM
To: CF-Talk
Subject: CFHTTP


I can go to http://www.yahoo.com

When I try to do a  to http://www.yahoo.com I get a Connection
Failure message.

Any clues?

T


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2002-04-15 Thread Tim Claremont

I should have been much more specific, of course. Here is the code...

http://www.yahoo.com";
method="GET"
resolveurl="true"
timeout="90">


#CFHTTP.FileContent#

Every time it returns "Connection Failure"

If I go sit on the server itself, I can go to http://www.yahoo.com with
no problem.















-Original Message-
From: Jerry Johnson [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 15, 2002 3:51 PM
To: CF-Talk
Subject: Re: CFHTTP


Post your cfhttp code?

Jerry

>>> [EMAIL PROTECTED] 04/15/02 03:43PM >>>
Works for me just fine ... It may be a problem with some type of http
settings... dunno what it could be though!

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com 
SiteDirector v2.0 - Commerce Builder



> I can go to http://www.yahoo.com
>
> When I try to do a  to http://www.yahoo.com I get a Connection

> Failure message.
>
> Any clues?
>
> T
>
> 


__
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2002-04-15 Thread Rob Baxter

CFHTTP is terrible. It will sometimes just return "Connection Failed". Try
refreshing several times. I have often encontered this problem while using
CFCACHE. Allaire/MM claim the problem lies in the 3rd party components which
do the heavy lifting inside CFHTTP, but that doesn't do us much good.


-Original Message-
From: Tim Claremont [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 3:34 PM
To: CF-Talk
Subject: CFHTTP


I can go to http://www.yahoo.com

When I try to do a  to http://www.yahoo.com I get a Connection
Failure message.

Any clues?

T


__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2002-04-15 Thread Dave Watts

> Allaire/MM claim the problem lies in the 3rd party 
> components which do the heavy lifting inside CFHTTP, 
> but that doesn't do us much good.

To the best of my knowledge, there are no longer any third-party components
used by CFHTTP. It was significantly changed in the 4.5.x release so as to
avoid the dependencies caused by using those components (WinInet on Windows,
for example).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2002-04-15 Thread Bob Imperial

Works fine for me and I'm behind a firewall, though it's not truly reliable
as someone else has stated.

Bob


-Original Message-
From: Tim Claremont [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 3:53 PM
To: CF-Talk
Subject: RE: CFHTTP


I should have been much more specific, of course. Here is the code...

http://www.yahoo.com";
method="GET"
resolveurl="true"
timeout="90">


#CFHTTP.FileContent#

Every time it returns "Connection Failure"

If I go sit on the server itself, I can go to http://www.yahoo.com with
no problem.















-Original Message-
From: Jerry Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 3:51 PM
To: CF-Talk
Subject: Re: CFHTTP


Post your cfhttp code?

Jerry

>>> [EMAIL PROTECTED] 04/15/02 03:43PM >>>
Works for me just fine ... It may be a problem with some type of http
settings... dunno what it could be though!

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector v2.0 - Commerce Builder



> I can go to http://www.yahoo.com
>
> When I try to do a  to http://www.yahoo.com I get a Connection

> Failure message.
>
> Any clues?
>
> T
>
>



__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2002-04-15 Thread Jerry Johnson

You're code works great from here.  Not that that helps at all.

Have you tried substituting some other URLs, to see if it is a general error, or 
specific to yahoo?

Jerry Johnson

>>> [EMAIL PROTECTED] 04/15/02 04:04PM >>>
Works fine for me and I'm behind a firewall, though it's not truly reliable
as someone else has stated.

Bob


-Original Message-
From: Tim Claremont [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 15, 2002 3:53 PM
To: CF-Talk
Subject: RE: CFHTTP


I should have been much more specific, of course. Here is the code...

http://www.yahoo.com";
method="GET"
resolveurl="true"
timeout="90">


#CFHTTP.FileContent#

Every time it returns "Connection Failure"

If I go sit on the server itself, I can go to http://www.yahoo.com with
no problem.















-Original Message-
From: Jerry Johnson [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 15, 2002 3:51 PM
To: CF-Talk
Subject: Re: CFHTTP


Post your cfhttp code?

Jerry

>>> [EMAIL PROTECTED] 04/15/02 03:43PM >>>
Works for me just fine ... It may be a problem with some type of http
settings... dunno what it could be though!

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com 
SiteDirector v2.0 - Commerce Builder



> I can go to http://www.yahoo.com 
>
> When I try to do a  to http://www.yahoo.com I get a Connection

> Failure message.
>
> Any clues?
>
> T
>
>




__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2002-04-15 Thread Tim Claremont

Hmmm... Strange.

When you go into the tag builder, you can specify a proxy server.
However, when I do that, the proxy server line does not materialize in
the code!

When I manually enter the proxy server in my code in Studio, all works
well.

In my mind I knew that I was specifying the proxy server, but as you see
in the code, the proxy server line was not there, hence the error.

T





-Original Message-
From: Jerry Johnson [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 15, 2002 4:17 PM
To: CF-Talk
Subject: RE: CFHTTP


You're code works great from here.  Not that that helps at all.

Have you tried substituting some other URLs, to see if it is a general
error, or specific to yahoo?

Jerry Johnson

>>> [EMAIL PROTECTED] 04/15/02 04:04PM >>>
Works fine for me and I'm behind a firewall, though it's not truly
reliable as someone else has stated.

Bob


-Original Message-
From: Tim Claremont [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 15, 2002 3:53 PM
To: CF-Talk
Subject: RE: CFHTTP


I should have been much more specific, of course. Here is the code...

http://www.yahoo.com";
method="GET"
resolveurl="true"
timeout="90">


#CFHTTP.FileContent#

Every time it returns "Connection Failure"

If I go sit on the server itself, I can go to http://www.yahoo.com with
no problem.















-Original Message-
From: Jerry Johnson [mailto:[EMAIL PROTECTED]] 
Sent: Monday, April 15, 2002 3:51 PM
To: CF-Talk
Subject: Re: CFHTTP


Post your cfhttp code?

Jerry

>>> [EMAIL PROTECTED] 04/15/02 03:43PM >>>
Works for me just fine ... It may be a problem with some type of http
settings... dunno what it could be though!

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com 
SiteDirector v2.0 - Commerce Builder



> I can go to http://www.yahoo.com
>
> When I try to do a  to http://www.yahoo.com I get a Connection

> Failure message.
>
> Any clues?
>
> T
>
>





__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2000-06-03 Thread Bud

On 6/1/00, Allen G penned:
>Does a CFHTTP request work when the file is on the same exact server?

Sure. It's just an http request.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFHTTP

2000-06-20 Thread Tom Rainey

If you are using a hosting company, ask them about sandbox security. Their
security settings may restrict your cfhttp.
-Tom

-Original Message-
From: Jim Mixon [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 9:11 PM
To: [EMAIL PROTECTED]
Subject: CFHTTP



I am using cf4.0 and having weird problems ..  .

On one server, cfhttp params are sent to a credit card processor and the
results are returned and all is well . . . on the other server(both Winnt
4.0) it appears the exact same tag is sending nothing or receiving nothing
. . .

anybody seen or heard of this before?

Jim Mixon - CEO
APT POINT NET, Inc. "A Premiere InterNET Gateway" . . .
[EMAIL PROTECTED]   http://www.apt.net/
8405 NW 53 St.  Miami, FL 33166  305-418-4111
FAX (305) 418-4111 press 7 and SEND!
powered by Cold Fusion 4.01 . . . . feel the force!
CF Hosting Now Available . . . . !

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFHTTP

2000-06-20 Thread Christian Sylvestre



> -Original Message-
> From: Jim Mixon [mailto:[EMAIL PROTECTED]]
> Sent: 20 June 2000 05:11
> To: [EMAIL PROTECTED]
> Subject: CFHTTP
> 
> 
> 
> I am using cf4.0 and having weird problems ..  .
> 
> On one server, cfhttp params are sent to a credit card 
> processor and the 
> results are returned and all is well . . . on the other 
> server(both Winnt 
> 4.0) it appears the exact same tag is sending nothing or 
> receiving nothing 
> . . .
> 

The problem is probably related to the ASP request object. Since cfHTTP is
sending data in the multipart format, ASP thinks that this is binary data
and is unable to process this text data. We are having the same problem and
it seems like we will have to write it in Java...

Christian

|||   |||  || r a z o r f i s h , london

Christian Sylvestre
[ technical architect ]

>> tel +44.(0)20.7549.4200
>> mobile +44.(0)794.134.8705
>> fax +44.(0)20.7236.2605
>> www.razorfish.co.uk


> anybody seen or heard of this before?
> 
> Jim Mixon - CEO
> APT POINT NET, Inc. "A Premiere InterNET Gateway" . . .
> [EMAIL PROTECTED]   http://www.apt.net/
> 8405 NW 53 St.  Miami, FL 33166  305-418-4111
> FAX (305) 418-4111 press 7 and SEND!
> powered by Cold Fusion 4.01 . . . . feel the force!
> CF Hosting Now Available . . . . !  
> --
> 
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit 
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
s/cf_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFHTTP

2002-06-10 Thread Dave Watts

> Can someone give me an example of running an executable 
> via CFHTTP

You can only run executables that are CGI programs via CFHTTP. It's not a
substitute for CFEXECUTE - they do two completely different things.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfhttp

2000-11-09 Thread Jaime Garza

Your cfhttp may be set to GET instead of POST.  Two options: Change cfhttp
to use post and access your variables as forms or



> -Original Message-
> From: Brian L. Wolfsohn [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 09, 2000 7:41 AM
> To: CF-Talk
> Subject: cfhttp
>
>
> I'm having a problem with cfhttpparam
>
> if there is an & in the attributes.cClass variable, i'm either getting a
> connection failure response, or the page is timing out.
>
> the & may be a legitimate character to be in the field, but in the
> meantime, i've worked around the problem by replacing the & with
> a /.  I'd
> like to be able to allow an & in this variable.
>
> No &, no problem..
>
> Does anyone have any suggestions ??
>
>
>
> 
>
> --
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
> or send a message with 'unsubscribe' in the body to
> [EMAIL PROTECTED]
>


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: cfhttp

2000-11-13 Thread Simon Horwith

if they're local to the server, you should use CFFILE to test for their
existence, otherwise, yes... use CFHTTP to test for it's existence.

~Simon

> Simon Horwith
> Certified ColdFusion Developer
> Fig Leaf Software
> 1400 16th St NW, # 220
> Washington DC 20036
> 202.797.6570 (direct line)
> www.figleaf.com
> 


-Original Message-
From: Peter Benoit [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 10:52 AM
To: CF-Talk
Subject: cfhttp


How can I use cfhttp if the page doesn't exist?

I have a list of links, in case one doesn't exist anymore, I'd like to not
present it.  Is cfhttp the best way to do this?

Thanks,
Pete



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



Re: cfhttp

2000-11-13 Thread Craig Bowes


Peter,

You do this by using cfhttp as follows:





 some link here


The only problem is, for every link that needs to be checked, cfhttp will
take a while to check the page and thus slow down YOUR page that has the
links.  CFHTTP is kind of slow.  A better way to do this would be to
database all your links, then create a scheduled task that checks all the
links at once, maybe once a day or month or so,  and and alters the database
as to whether or not each one has an error or connection failure.  Then you
run a query against this database checking the status of each link the last
time it was checked and displaying it or not based on what it finds in the
database.  If your links are already stored in a database, this will be easy
because you'll just have to add another bit field and call it "validlink" or
something.

-Craig Bowes
Coldfusion Programmer
[EMAIL PROTECTED]
972.243.1171

- Original Message -
From: "Peter Benoit" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, November 13, 2000 9:52 AM
Subject: cfhttp


> How can I use cfhttp if the page doesn't exist?
>
> I have a list of links, in case one doesn't exist anymore, I'd like to not
> present it.  Is cfhttp the best way to do this?
>
> Thanks,
> Pete
>
> --
--
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send
a message with 'unsubscribe' in the body to
[EMAIL PROTECTED]
>


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



Re: cfhttp

2000-11-13 Thread Dick Applebaum

Pete

Use CFHTTP with a reasonably low timeout

If either the time expires or the returned content contains a 404 
message, the link is invalid.

HTH

Dick




At 10:52 AM -0500 11/13/00, Peter Benoit wrote:
>How can I use cfhttp if the page doesn't exist?
>
>I have a list of links, in case one doesn't exist anymore, I'd like to not
>present it.  Is cfhttp the best way to do this?
>
>Thanks,
>Pete

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: cfhttp

2000-11-13 Thread Robert Segal

The cfhttp.filecontent variable will hold whatever is returned by the cfhttp
request.  If you are  on a browser requesting a page that doesn't exist,
you'll get back a 404 error or whatever which you can parse to look for the
page not found error.

-Original Message-
From: Peter Benoit [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 10:52 AM
To: CF-Talk
Subject: cfhttp


How can I use cfhttp if the page doesn't exist?

I have a list of links, in case one doesn't exist anymore, I'd like to not
present it.  Is cfhttp the best way to do this?

Thanks,
Pete



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: cfhttp

2000-11-13 Thread Ron Anderson

Could you check to see if the mime type is .html or .cfm?
If not, then cancel the action.

-Original Message-
From: Peter Benoit [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 13, 2000 7:52 AM
To: CF-Talk
Subject: cfhttp


How can I use cfhttp if the page doesn't exist?

I have a list of links, in case one doesn't exist anymore, I'd like to not
present it.  Is cfhttp the best way to do this?

Thanks,
Pete



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



RE: CFHTTP

2000-05-08 Thread Leong Yew

I believe it's the file in its entirety. If you want to get rid of the stuff
nested in the  tags there's a custom tag in the Allaire gallery
that parses this for you.

-Original Message-
From: Computer Simplistics Suppoer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 12:16 PM
To: [EMAIL PROTECTED]
Subject: CFHTTP


I am using CFHTTP to write a little grabber to get info from the weather.com
site. Does CFHTTP read the source or viewable text? In other words, if I
refrence the CFHTTP.FileContent variable am I working with only the viewable
text from that page or the actual source code?

Scott Berry
--
Computer Simplistics Support
"Simple Solutions for a Complex World"
http://www.c-s.net
661-296-4315





--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: CFHTTP

2000-05-08 Thread Computer Simplistics Suppoer

Well, I am having a bear of a time with this. All I simply want to do is
grab a little weather info off their page, but can't find a way to do it. I
have looked at the previous custom tags in the gallery, but none seem to do
what I want. The major problem is that the info on their site is not
separated by any special character, so I can't set the start and end points
for the grab from the CFHTTP very easily. Anyone see an easy way to grab say
just the temp off this page?

http://www.weather.com/weather/us/zips/91350.html

I just want whatever digits which are between the phrase "Temp:" and the
degree sign. The problem is that there is a whole crapload of code in the
source between those two strings. Any help?

Scott Berry
--
Computer Simplistics Support
"Simple Solutions for a Complex World"
http://www.c-s.net
661-296-4315


- Original Message -
From: "Leong Yew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 8:15 PM
Subject: RE: CFHTTP


> I believe it's the file in its entirety. If you want to get rid of the
stuff
> nested in the  tags there's a custom tag in the Allaire
gallery
> that parses this for you.
>
> -Original Message-
> From: Computer Simplistics Suppoer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 09, 2000 12:16 PM
> To: [EMAIL PROTECTED]
> Subject: CFHTTP
>
>
> I am using CFHTTP to write a little grabber to get info from the
weather.com
> site. Does CFHTTP read the source or viewable text? In other words, if I
> refrence the CFHTTP.FileContent variable am I working with only the
viewable
> text from that page or the actual source code?
>
> Scott Berry
> --
> Computer Simplistics Support
> "Simple Solutions for a Complex World"
> http://www.c-s.net
> 661-296-4315
>
>
>
>
> --
--
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>



--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: CFHTTP

2000-05-08 Thread Brian Peddle

http://www.weather.com/weather/us/zips/91350.html" method="get" 
resolveurl="true">

















", content, start)>


 




#content#



-- Original Message --
From: "Computer Simplistics Suppoer" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Mon, 8 May 2000 20:41:27 -0700

>Well, I am having a bear of a time with this. All I simply want to do is
grab a little weather info off their page, but can't find a way to do it. I
have looked at the previous custom tags in the gallery, but none seem to do
what I want. The major problem is that the info on their site is not
separated by any special character, so I can't set the start and end points
for the grab from the CFHTTP very easily. Anyone see an easy way to grab say
just the temp off this page?

http://www.weather.com/weather/us/zips/91350.html

I just want whatever digits which are between the phrase "Temp:" and the
degree sign. The problem is that there is a whole crapload of code in the
source between those two strings. Any help?

Scott Berry
--
Computer Simplistics Support
"Simple Solutions for a Complex World"
http://www.c-s.net
661-296-4315


- Original Message -
From: "Leong Yew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 8:15 PM
Subject: RE: CFHTTP


> I believe it's the file in its entirety. If you want to get rid of the
stuff
> nested in the  tags there's a custom tag in the Allaire
gallery
> that parses this for you.
>
> -Original Message-
> From: Computer Simplistics Suppoer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 09, 2000 12:16 PM
> To: [EMAIL PROTECTED]
> Subject: CFHTTP
>
>
> I am using CFHTTP to write a little grabber to get info from the
weather.com
> site. Does CFHTTP read the source or viewable text? In other words, if I
> refrence the CFHTTP.FileContent variable am I working with only the
viewable
> text from that page or the actual source code?
>
> Scott Berry
> --
> Computer Simplistics Support
> "Simple Solutions for a Complex World"
> http://www.c-s.net
> 661-296-4315
>
>
>
>
> --
--
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>



--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFHTTP

2000-05-08 Thread Sean Brown

Doing so for non-personal use violates the Terms of Service contract:
http://www.weather.com/legal/
The site contains copyrighted material, trademarks and other proprietary
information, including, without limitation, text, software, photos, video,
graphics, music and sound, and the contents of the site are copyrighted
under the United States copyright laws. You may not modify, publish,
transmit, display, participate in the transfer or sale, create derivative
works, or in any way exploit, any of the content, in whole or in part. You
may download one copy of any copyrighted material for your personal,
non-commercial home use only. Except as otherwise expressly permitted under
copyright law, no copying, redistribution, retransmission, publication or
commercial exploitation of downloaded material will be permitted without the
express written permission of TWC and the copyright owner.

However you can use CFHTTP to get the HTML source, then use Regular
Expressions to get the digits between
Temp:
http://image.weather.com/pics/blank.gif" ALT="">
  
and
°F
-S
___

  Sean Brown<[EMAIL PROTECTED]>
  http://www.westcar.com/

  "Either way you get your dog back"
  -Anonymous
___


-Original Message-
From: Computer Simplistics Suppoer [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 08, 2000 11:41 PM
To: [EMAIL PROTECTED]
Subject: Re: CFHTTP


Well, I am having a bear of a time with this. All I simply want to do is
grab a little weather info off their page, but can't find a way to do it. I
have looked at the previous custom tags in the gallery, but none seem to do
what I want. The major problem is that the info on their site is not
separated by any special character, so I can't set the start and end points
for the grab from the CFHTTP very easily. Anyone see an easy way to grab say
just the temp off this page?

http://www.weather.com/weather/us/zips/91350.html

I just want whatever digits which are between the phrase "Temp:" and the
degree sign. The problem is that there is a whole crapload of code in the
source between those two strings. Any help?

Scott Berry
--
Computer Simplistics Support
"Simple Solutions for a Complex World"
http://www.c-s.net
661-296-4315


- Original Message -
From: "Leong Yew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 8:15 PM
Subject: RE: CFHTTP


> I believe it's the file in its entirety. If you want to get rid of the
stuff
> nested in the  tags there's a custom tag in the Allaire
gallery
> that parses this for you.
>
> -Original Message-
> From: Computer Simplistics Suppoer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 09, 2000 12:16 PM
> To: [EMAIL PROTECTED]
> Subject: CFHTTP
>
>
> I am using CFHTTP to write a little grabber to get info from the
weather.com
> site. Does CFHTTP read the source or viewable text? In other words, if I
> refrence the CFHTTP.FileContent variable am I working with only the
viewable
> text from that page or the actual source code?
>
> Scott Berry
> --
> Computer Simplistics Support
> "Simple Solutions for a Complex World"
> http://www.c-s.net
> 661-296-4315
>
>
>
>
> --
--
> --
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>




--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: CFHTTP

2000-05-08 Thread Brian Peddle


Os line:
< pos = (find("ÿB0F", "#content#", "1")+ 6)>

c degree with the & deg ;F  without spaces, it is evaluating it here.

-- Original Message --
F"Brian Peddle" <[EMAIL PROTECTED]>
RTo: [EMAIL PROTECTED]
DMon,  8 May 2000 22:51:12 EST

tl= "http://www.weather.com/weather/us/zips/91350.html" method="get" resrl="true">


tent = #cfhttp.filecontent#>

t= (find("Temp:", "#content#", "1")- 1)>
< content = removechars("#content#","1","#pos#")>
< pos = (find("ÿB0F", "#content#", "1")+ 6)>
< content = removechars("#content#","#pos#","#len(content)#")>

sg = "<">
< taglen = len(tag)>
< start = 1>

odition="start gt 0">
t start = FindNoCase(tag, content)>
 start gt 0>
et end = FindNoCase(">", content, start)>
et content = RemoveChars(content, start, end-start+1)>
f>


o>

e

-- Original Message --
F"Computer Simplistics Suppoer" <[EMAIL PROTECTED]>
RTo: [EMAIL PROTECTED]
DMon, 8 May 2000 20:41:27 -0700

, having a bear of a time with this. All I simply want to do is
g little weather info off their page, but can't find a way to do it. I
hooked at the previous custom tags in the gallery, but none seem to do
w want. The major problem is that the info on their site is not
sted by any special character, so I can't set the start and end points
fe grab from the CFHTTP very easily. Anyone see an easy way to grab say
jhe temp off this page?

/weather.com/weather/us/zips/91350.html

t whatever digits which are between the phrase "Temp:" and the
d sign. The problem is that there is a whole crapload of code in the
s between those two strings. Any help?


-mputer Simplistics Support
"e Solutions for a Complex World"
h/www.c-s.net
66-4315

-ginal Message -
F"Leong Yew" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]>
SMonday, May 08, 2000 8:15 PM
St: RE: CFHTTP

 ve it's the file in its entirety. If you want to get rid of the
s
 d in the  tags there's a custom tag in the Allaire
gy
> parses this for you.
>Original Message-
>: Computer Simplistics Suppoer [mailto:[EMAIL PROTECTED]]
>: Tuesday, May 09, 2000 12:16 PM
>[EMAIL PROTECTED]
>ect: CFHTTP
>> I am using CFHTTP to write a little grabber to get info from the
wr.com
>. Does CFHTTP read the source or viewable text? In other words, if I
>ence the CFHTTP.FileContent variable am I working with only the
vle
> from that page or the actual source code?
>cott Berry
>> Computer Simplistics Support
>ple Solutions for a Complex World"
>://www.c-s.net
>296-4315
>>
>-
---
>ives: http://www.eGroups.com/list/cf-talk
>nsubscribe visit
>://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
dssage to [EMAIL PROTECTED] with 'unsubscribe' in
>body.
>-
-> Archives: http://www.eGroups.com/list/cf-talk
>nsubscribe visit
h/www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
s message to [EMAIL PROTECTED] with 'unsubscribe' in
tdy.
>

---
Aes: http://www.eGroups.com/list/cf-talk
Tubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=/cf_talk or 
send a message to [EMAIL PROTECTED] with 'unsibe' in the body.


Aes: http://www.eGroups.com/list/cf-talk
Tubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=/cf_talk or 
send a message to [EMAIL PROTECTED] with 'unsibe' in the body.


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: CFHTTP

2000-05-08 Thread Max Paperno

At 5/8/2000 08:41 PM -0700, Computer Simplistics Suppoer wrote:
>Well, I am having a bear of a time with this. All I simply want to do is
>grab a little weather info off their page, but can't find a way to do it.


And if they're smart, they'll make it as hard as possible for you to do so.  It's 
their content.  I believe there are some subscription services available that will 
provide the data you need in a machine-readable format.

As for your problem...  You will simply need to get creative with some string parsing. 
 Look into Regular Expressions (REFind(), REReplace()) to help strip out unwanted 
characters.  There are probably great examples of this in the tags you mentioned that 
are in the Tag Gallery.  And looks like Brian has posted a good start for you.

Good luck,
-Max

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFHTTP

2000-05-08 Thread Leong Yew

Brian,

Could you repost please? It's a bit garbled.

Leog

-Original Message-
From: Brian Peddle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 1:26 PM
To: [EMAIL PROTECTED]
Subject: Re: CFHTTP



Os line:
< pos = (find("ÿB0F", "#content#", "1")+ 6)>

c degree with the & deg ;F  without spaces, it is evaluating it here.

-- Original Message --
F"Brian Peddle" <[EMAIL PROTECTED]>
RTo: [EMAIL PROTECTED]
DMon,  8 May 2000 22:51:12 EST

tl= "http://www.weather.com/weather/us/zips/91350.html" method="get"
resrl="true">


tent = #cfhttp.filecontent#>

t= (find("Temp:", "#content#", "1")- 1)>
< content = removechars("#content#","1","#pos#")>
< pos = (find("ÿB0F", "#content#", "1")+ 6)>
< content = removechars("#content#","#pos#","#len(content)#")>

sg = "<">
< taglen = len(tag)>
< start = 1>

odition="start gt 0">
t start = FindNoCase(tag, content)>
 start gt 0>
et end = FindNoCase(">", content, start)>
et content = RemoveChars(content, start, end-start+1)>
f>


o>

e

-- Original Message --
F"Computer Simplistics Suppoer" <[EMAIL PROTECTED]>
RTo: [EMAIL PROTECTED]
DMon, 8 May 2000 20:41:27 -0700

, having a bear of a time with this. All I simply want to do is
g little weather info off their page, but can't find a way to do it. I
hooked at the previous custom tags in the gallery, but none seem to do
w want. The major problem is that the info on their site is not
sted by any special character, so I can't set the start and end points
fe grab from the CFHTTP very easily. Anyone see an easy way to grab say
jhe temp off this page?

/weather.com/weather/us/zips/91350.html

t whatever digits which are between the phrase "Temp:" and the
d sign. The problem is that there is a whole crapload of code in the
s between those two strings. Any help?


-mputer Simplistics Support
"e Solutions for a Complex World"
h/www.c-s.net
66-4315

-ginal Message -
F"Leong Yew" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]>
SMonday, May 08, 2000 8:15 PM
St: RE: CFHTTP

 ve it's the file in its entirety. If you want to get rid of the
s
 d in the  tags there's a custom tag in the Allaire
gy
> parses this for you.
>Original Message-
>: Computer Simplistics Suppoer [mailto:[EMAIL PROTECTED]]
>: Tuesday, May 09, 2000 12:16 PM
>[EMAIL PROTECTED]
>ect: CFHTTP
>> I am using CFHTTP to write a little grabber to get info from the
wr.com
>. Does CFHTTP read the source or viewable text? In other words, if I
>ence the CFHTTP.FileContent variable am I working with only the
vle
> from that page or the actual source code?
>cott Berry
>> Computer Simplistics Support
>ple Solutions for a Complex World"
>://www.c-s.net
>296-4315
>>
>-
---
>ives: http://www.eGroups.com/list/cf-talk
>nsubscribe visit
>://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
dssage to [EMAIL PROTECTED] with 'unsubscribe' in
>body.
>-
-> Archives: http://www.eGroups.com/list/cf-talk
>nsubscribe visit
h/www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
s message to [EMAIL PROTECTED] with 'unsubscribe' in
tdy.
>

---
Aes: http://www.eGroups.com/list/cf-talk
Tubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsibe' in the body.


Aes: http://www.eGroups.com/list/cf-talk
Tubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsibe' in the body.



--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFHTTP

2000-05-09 Thread Brian Peddle

The special character & deg may show up as the degree symbol just fix it on your end.

http://www.weather.com/weather/us/zips/91350.html" method="get" 
resolveurl="true">

















", content, start)>


 




#content#








-- Original Message --
From: "Leong Yew" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Tue, 9 May 2000 14:17:57 +0930

>Brian,

Could you repost please? It's a bit garbled.

Leog

-Original Message-
From: Brian Peddle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 1:26 PM
To: [EMAIL PROTECTED]
Subject: Re: CFHTTP



Os line:
< pos = (find("ÿB0F", "#content#", "1")+ 6)>

c degree with the & deg ;F  without spaces, it is evaluating it here.

-- Original Message --
F"Brian Peddle" <[EMAIL PROTECTED]>
RTo: [EMAIL PROTECTED]
DMon,  8 May 2000 22:51:12 EST

tl= "http://www.weather.com/weather/us/zips/91350.html" method="get"
resrl="true">


tent = #cfhttp.filecontent#>

t= (find("Temp:", "#content#", "1")- 1)>
< content = removechars("#content#","1","#pos#")>
< pos = (find("ÿB0F", "#content#", "1")+ 6)>
< content = removechars("#content#","#pos#","#len(content)#")>

sg = "<">
< taglen = len(tag)>
< start = 1>

odition="start gt 0">
t start = FindNoCase(tag, content)>
 start gt 0>
et end = FindNoCase(">", content, start)>
et content = RemoveChars(content, start, end-start+1)>
f>


o>

e

-- Original Message --
F"Computer Simplistics Suppoer" <[EMAIL PROTECTED]>
RTo: [EMAIL PROTECTED]
DMon, 8 May 2000 20:41:27 -0700

, having a bear of a time with this. All I simply want to do is
g little weather info off their page, but can't find a way to do it. I
hooked at the previous custom tags in the gallery, but none seem to do
w want. The major problem is that the info on their site is not
sted by any special character, so I can't set the start and end points
fe grab from the CFHTTP very easily. Anyone see an easy way to grab say
jhe temp off this page?

/weather.com/weather/us/zips/91350.html

t whatever digits which are between the phrase "Temp:" and the
d sign. The problem is that there is a whole crapload of code in the
s between those two strings. Any help?


-mputer Simplistics Support
"e Solutions for a Complex World"
h/www.c-s.net
66-4315

-ginal Message -
F"Leong Yew" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]>
SMonday, May 08, 2000 8:15 PM
St: RE: CFHTTP

 ve it's the file in its entirety. If you want to get rid of the
s
 d in the  tags there's a custom tag in the Allaire
gy
> parses this for you.
>Original Message-
>: Computer Simplistics Suppoer [mailto:[EMAIL PROTECTED]]
>: Tuesday, May 09, 2000 12:16 PM
>[EMAIL PROTECTED]
>ect: CFHTTP
>> I am using CFHTTP to write a little grabber to get info from the
wr.com
>. Does CFHTTP read the source or viewable text? In other words, if I
>ence the CFHTTP.FileContent variable am I working with only the
vle
> from that page or the actual source code?
>cott Berry
>> Computer Simplistics Support
>ple Solutions for a Complex World"
>://www.c-s.net
>296-4315
>>
>-
---
>ives: http://www.eGroups.com/list/cf-talk
>nsubscribe visit
>://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
dssage to [EMAIL PROTECTED] with 'unsubscribe' in
>body.
>-
-> Archives: http://www.eGroups.com/list/cf-talk
>nsubscribe visit
h/www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
s message to [EMAIL PROTECTED] with 'unsubscribe' in
tdy.
>

---
Aes: http://www.eGroups.com/list/cf-talk
Tubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsibe' in the body.


Aes: http://www.eGroups.com/list/cf-talk
Tubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsibe' in the body.



--
Archives: http://www.eGroups.com/list/cf-talk

Re: CFHTTP

2000-05-09 Thread Cary Gordon

You could just get this info for free, just like the WC does.  Try 
 for an example.  and, hey, its just 
text and easy to parse.

Cary

At 11:56 PM 5/8/00 -0400, you wrote:
>At 5/8/2000 08:41 PM -0700, Computer Simplistics Suppoer wrote:
> >Well, I am having a bear of a time with this. All I simply want to do is
> >grab a little weather info off their page, but can't find a way to do it.
>
>
>And if they're smart, they'll make it as hard as possible for you to do 
>so.  It's their content.  I believe there are some subscription services 
>available that will provide the data you need in a machine-readable format.
>
>As for your problem...  You will simply need to get creative with some 
>string parsing.  Look into Regular Expressions (REFind(), REReplace()) to 
>help strip out unwanted characters.  There are probably great examples of 
>this in the tags you mentioned that are in the Tag Gallery.  And looks 
>like Brian has posted a good start for you.
>
>Good luck,
>-Max


Cary Gordon
The Cherry Hill Company

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFHTTP

2000-05-10 Thread Dave Watts

> Why then would Allaire allow tags in their developers gallery that
> do exactly the same thing I am trying to do? Weatherchannel.com
> allows users to place their information on your site, since they
> have a service that does this for you. I see nothing wrong if I
> give them credit and link to them like it does with their
> subscription.

Here's why. I pulled this from the weather.com license agreement:

"1. Licenses.  (A)  We grant you the non-exclusive, non-transferable right
to exhibit and display on your World Wide Web site (the "Site") the "Weather
Magnet" or "Weather Viewer" (as applicable, the "Content") selected by you.

...

(C) The rights granted to you are also limited as follows:

*   You will exhibit and display the Content in its entirety (without any
alteration or deletion), including all credits and copyright notices
included in the Content;

*   You may not use the Content except as we have agreed in this Agreement;

...

*   You may not edit, alter, modify or prepare any derivative works of the
Content;

*   You may not imply, directly or indirectly, including by using the Content
together with content provided by you or others, that we provide, endorse,
sponsor, certify or approve of other content included within the Site or any
products or services advertised in or near the Content;

*   You may not resell, sublicense, retransmit or otherwise distribute any of
the Content in its raw or unaltered form or format;

*   You must include with all graphics, imagery, charts and maps which are
part of the Content, all credits, copyright notices, trademarks, service
marks, trade names and logos which are contained on the Content provided to
you (our "Marks") and you will not omit, vary or otherwise change any of our
Marks, including without limitation, the size, color, location or style of
our Marks;

...

*   We will have the right to review and approve the manner in which the
Content is displayed on the Site.  Our review and approval will not be
unreasonably withheld or delayed."

In other words, you can show exactly what they allow exactly the way they
allow you to do it. Any other use of their data falls outside of what this
license allows, and opens the possibility of legal action against you.
Allaire probably doesn't run all the custom tags they receive through their
legal department.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: CFHTTP

2000-05-10 Thread Jerry William Richardson

They will most likely have a problem with it. They do publish tools that
have the same effect, but you have to go through a license agreement and
they can't be reformatted easily to just pull out the stuff you want.

Faced with the same problem, (on http://www.waveone.net/jerry/index.cfm) I
switched information suppliers. Get your forecast straight from the
government just like weather.com does. The National Weather Service is the
root source for 99% of published forecasts in the United States. Parse their
web pages. You paid for that information already with your tax dollars.

Jerry Richardson
[EMAIL PROTECTED]

-Original Message-
From: Computer Simplistics Suppoer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 10, 2000 1:12 PM
To: [EMAIL PROTECTED]
Subject: Re: CFHTTP


Thanks for all the replies.

Why then would Allaire allow tags in their developers gallery that do
exactly the same thing I am trying to do? Weatherchannel.com allows users to
place their information on your site, since they have a service that does
this for you. I see nothing wrong if I give them credit and link to them
like it does with their subscription.

Scott Berry
--
Computer Simplistics Support
"Simple Solutions for a Complex World"
http://www.c-s.net
661-296-4315


- Original Message -
From: "Max Paperno" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 8:56 PM
Subject: Re: CFHTTP


> At 5/8/2000 08:41 PM -0700, Computer Simplistics Suppoer wrote:
> >Well, I am having a bear of a time with this. All I simply want to do is
> >grab a little weather info off their page, but can't find a way to do it.
> 
>
> And if they're smart, they'll make it as hard as possible for you to do
so.  It's their content.  I believe there are some subscription services
available that will provide the data you need in a machine-readable format.
>
> As for your problem...  You will simply need to get creative with some
string parsing.  Look into Regular Expressions (REFind(), REReplace()) to
help strip out unwanted characters.  There are probably great examples of
this in the tags you mentioned that are in the Tag Gallery.  And looks like
Brian has posted a good start for you.
>
> Good luck,
> -Max
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>




--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: CFHTTP

2000-05-10 Thread Computer Simplistics Suppoer

Thanks for all the replies.

Why then would Allaire allow tags in their developers gallery that do
exactly the same thing I am trying to do? Weatherchannel.com allows users to
place their information on your site, since they have a service that does
this for you. I see nothing wrong if I give them credit and link to them
like it does with their subscription.

Scott Berry
--
Computer Simplistics Support
"Simple Solutions for a Complex World"
http://www.c-s.net
661-296-4315


- Original Message -
From: "Max Paperno" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 8:56 PM
Subject: Re: CFHTTP


> At 5/8/2000 08:41 PM -0700, Computer Simplistics Suppoer wrote:
> >Well, I am having a bear of a time with this. All I simply want to do is
> >grab a little weather info off their page, but can't find a way to do it.
> 
>
> And if they're smart, they'll make it as hard as possible for you to do
so.  It's their content.  I believe there are some subscription services
available that will provide the data you need in a machine-readable format.
>
> As for your problem...  You will simply need to get creative with some
string parsing.  Look into Regular Expressions (REFind(), REReplace()) to
help strip out unwanted characters.  There are probably great examples of
this in the tags you mentioned that are in the Tag Gallery.  And looks like
Brian has posted a good start for you.
>
> Good luck,
> -Max
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>



--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: CFHTTP

2000-05-10 Thread Fred T. Sanders

Just because the sites don't complain about it, doesn't mean
its okay.  Your taking their content and supplying it on
your site as if you were generating the content yourself,
even with a link to their site, especially if you don't ask
nicely (some sites want you to ask for permission to even
link to them).
Most do offer a subscription service that will allow you to
download a small database of weather information three or
four times a day then parse to hearts content.  Guess it all
depends on your budget.

(yeah okay so one of the weather grabbers on the dev
exchange is from yours truly, I'm a hypocrite).


Fred

- Original Message -
From: "Computer Simplistics Suppoer" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 10, 2000 1:11 PM
Subject: Re: CFHTTP


> Thanks for all the replies.
>
> Why then would Allaire allow tags in their developers
gallery that do
> exactly the same thing I am trying to do?
Weatherchannel.com allows users to
> place their information on your site, since they have a
service that does
> this for you. I see nothing wrong if I give them credit
and link to them
> like it does with their subscription.
>
> Scott Berry
> --
> Computer Simplistics Support
> "Simple Solutions for a Complex World"
> http://www.c-s.net
> 661-296-4315
>
>
> - Original Message -
> From: "Max Paperno" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, May 08, 2000 8:56 PM
> Subject: Re: CFHTTP
>
>
> > At 5/8/2000 08:41 PM -0700, Computer Simplistics Suppoer
wrote:
> > >Well, I am having a bear of a time with this. All I
simply want to do is
> > >grab a little weather info off their page, but can't
find a way to do it.
> > 
> >
> > And if they're smart, they'll make it as hard as
possible for you to do
> so.  It's their content.  I believe there are some
subscription services
> available that will provide the data you need in a
machine-readable format.
> >
> > As for your problem...  You will simply need to get
creative with some
> string parsing.  Look into Regular Expressions (REFind(),
REReplace()) to
> help strip out unwanted characters.  There are probably
great examples of
> this in the tags you mentioned that are in the Tag
Gallery.  And looks like
> Brian has posted a good start for you.
> >
> > Good luck,
> > -Max
> >
>
> --

> 
> > Archives: http://www.eGroups.com/list/cf-talk
> > To Unsubscribe visit
>
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=li
sts/cf_talk or
> send a message to [EMAIL PROTECTED] with
'unsubscribe' in
> the body.
> >
>
>
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=li
sts/cf_talk or send a message to
[EMAIL PROTECTED] with 'unsubscribe' in the
body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: CFHTTP

2000-05-10 Thread Brian Peddle

Here you can use without quotes though for better results
-- Original Message --
From: "Computer Simplistics Suppoer" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Wed, 10 May 2000 11:11:42 -0700

>Thanks for all the replies.

Why then would Allaire allow tags in their developers gallery that do
exactly the same thing I am trying to do? Weatherchannel.com allows users to
place their information on your site, since they have a service that does
this for you. I see nothing wrong if I give them credit and link to them
like it does with their subscription.

Scott Berry
--
Computer Simplistics Support
"Simple Solutions for a Complex World"
http://www.c-s.net
661-296-4315


- Original Message -
From: "Max Paperno" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 08, 2000 8:56 PM
Subject: Re: CFHTTP


> At 5/8/2000 08:41 PM -0700, Computer Simplistics Suppoer wrote:
> >Well, I am having a bear of a time with this. All I simply want to do is
> >grab a little weather info off their page, but can't find a way to do it.
> 
>
> And if they're smart, they'll make it as hard as possible for you to do
so.  It's their content.  I believe there are some subscription services
available that will provide the data you need in a machine-readable format.
>
> As for your problem...  You will simply need to get creative with some
string parsing.  Look into Regular Expressions (REFind(), REReplace()) to
help strip out unwanted characters.  There are probably great examples of
this in the tags you mentioned that are in the Tag Gallery.  And looks like
Brian has posted a good start for you.
>
> Good luck,
> -Max
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>



--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: CFHTTP

2001-09-07 Thread Dick Applebaum

If I understand you correctly, you will get returned exactly hat you want,

   Go to the site where you want to post, with your browser.

   Manually post the form

The page that gets returned is what you would get when doing the 
equivalent with cfhttp.

The exception to this is when the page served, as a result, of the 
post does a client-side redirect with a metatag refresh, JavaScript 
onLoad, etc.

In this case you will need to handle this by:

   receiving the page with the client-side redirect in CFHTTP.FileContent
   (the result of the post)

   Parsing the page (CFHTTP.FileContent) to determine the URL that is the
   target pf the client-side redirect

   Issuing a second cfhttp request for the target URL

   Processing the page (CFHTTP.FileContent) returned from this, second,
   cfhttp request as desired.


HTH

Dick


At 10:46 AM -0500 9/5/01, ChristianWatt wrote:
>I am trying to make an internal page that will send an alphanumeric page
>through our providers website.  The problem is that the info is posted to a
>CGI script that processes the request then redirects to another page that
>gives the confirmation num of the page sent and that it was successful.  Is
>there any way that I can post to the CGI script, but return the info off the
>second page?
>
>Christian
~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cfhttp

2000-11-17 Thread Gregory Harris

Depending on the specific error message, it could be a wide variety of
things, offhand I can think of 2:

1) The server is just too slow
2) For security reasons, the server isn't letting you

If you can give me a more specific error message coming from the other
server, diagnosing might be easier.  Hint: if you don't know how to print
the results of a CFHTTP Action try this:





#CFHTTP.FileContent#
#CFHTTP.MimeType# 
#CFHTTP.Header# 

 (to avoid further template processing and display results




Gregory Harris
Web Developer
Stirling Bridge Group LLC

- Original Message -
From: "Melissa Fraher" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, November 17, 2000 3:51 PM
Subject: cfhttp


> I am trying to use CFHTTP and CFHTTPPARAM to bypass a form and pass my
> own form variables directly to an action page.  On top of this, the
> action page is an ASP.
>
> I am receiving an error that I am unable to connect to the server.
>
> Does anyone have any advice on this?
>
> TIA,
>
> Melissa
>
> ~~
> Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
>
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
>

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfhttp

2000-11-17 Thread Paul Mone

what version CF?

-Original Message-
From: Melissa Fraher [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 17, 2000 3:51 PM
To: CF-Talk
Subject: cfhttp


I am trying to use CFHTTP and CFHTTPPARAM to bypass a form and pass my
own form variables directly to an action page.  On top of this, the
action page is an ASP.

I am receiving an error that I am unable to connect to the server.

Does anyone have any advice on this?

TIA,

Melissa

~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cfhttp

2000-11-17 Thread Melissa Fraher

CF4.01

Paul Mone wrote:

> what version CF?
>
> -Original Message-
> From: Melissa Fraher [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 17, 2000 3:51 PM
> To: CF-Talk
> Subject: cfhttp
>
> I am trying to use CFHTTP and CFHTTPPARAM to bypass a form and pass my
> own form variables directly to an action page.  On top of this, the
> action page is an ASP.
>
> I am receiving an error that I am unable to connect to the server.
>
> Does anyone have any advice on this?
>
> TIA,
>
> Melissa
>
> ~~
> Structure your ColdFusion code with Fusebox. Get the official book at
> http://www.fusionauthority.com/bkinfo.cfm
>
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>
> ~~
> Structure your ColdFusion code with Fusebox. Get the official book at 
>http://www.fusionauthority.com/bkinfo.cfm
>
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2000-12-04 Thread Jeffry Houser


  Sounds complicated.  But, I know of no flag to do it.
  I believe there is an of CFHTTP which will return absolute 
links instead of relative links.  You may be able to use that 
to help get the images.  

  I hope you are not planning on performing this on a 'per request' 
basis.  


Adam Reynolds wrote:
> 
> We have a problem where your average user does not have web access.
> 
> We need to deliver a page from an external web site intact (graphics in
> tact) to an internal user...
> 
> Am I right in saying that I will need to get the original page, then
> retrieve and store each of the individual image components locally, then
> replace all instances of one image link with the newly saved image, then
> deliver the page to the end user with the new links in tact?
> 
> Or am I just going way ot and there is a simple flag to do this?
> 
> Best Regards,
> 
> Adam Reynolds
> ColdFusion Web Developer
> ISMG Development, Unilever
> London
> 
> ( +44 20 7822 x5450
> m: +44 7973 386620
> *  [EMAIL PROTECTED]
> 
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2000-12-04 Thread Dick Applebaum

If the ultimate user has no web access, then you must do as you suggest...

Be aware that this is not necessarily an easy task, especially if:

   the target page varies

   the target page frequently changes

   the target page includes links to other pages, which, in turn, contains
   links to other pages... ad infinitum

   the target page(s) contain links other than "We have a problem where your average user does not have web access.
>
>We need to deliver a page from an external web site intact (graphics in
>tact) to an internal user...
>
>Am I right in saying that I will need to get the original page, then
>retrieve and store each of the individual image components locally, then
>replace all instances of one image link with the newly saved image, then
>deliver the page to the end user with the new links in tact?
>
>Or am I just going way ot and there is a simple flag to do this?
>


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-01-05 Thread Aaron Johnson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fernando,

Your code works fine on my machine. I'd check a couple machine
specific things:

a) Is your server behind some sort of firewall or proxy?
b) If you have physical access to the CF server in question, can you
open up a browser and open that url?


Aaron Johnson, MCSE, MCP+I
Allaire Certified ColdFusion Developer
MINDSEYE, Inc.
617.350.0339
617.350.8884
66172567
[EMAIL PROTECTED]
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Cfhttp

2001-05-21 Thread Dave Watts

> Can a text file be deleted from a server via cfhttp?

Not directly. CFHTTP only supports GET and POST requests.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Cfhttp

2001-05-21 Thread Top-Link Tech (John Ceci)

Well,

If you used CFHTTP to call a CFM file on a remote server that executed a
script to delete a file, then yes you could...

HTH,
John

-Original Message-
From: Joshua Tipton [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 10:59 AM
To: CF-Talk
Subject: Cfhttp


Can a text file be deleted from a server via cfhttp?

Joshua Tipton
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP??

2001-05-30 Thread Michael Lugassy

I use a great custom tag that is called getInsideString.
you can specify TEXT to search for (in u'r case: cfhttp.filecontent) and
START, POS
to look for and it will create a new VARNAME that hold anything that is in
between.
ONE OF THE BEST TAGS IVE SEEN!!!

If you can't find it in the gallery, let me know.

Thanks,

Michael Lugassy
IT/WEB Specialist
Interactive Music Ltd.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP??

2001-05-30 Thread Kelly Matthews

It can be tricky but Find, Mid, ReFind etc... are functions you should use
to find the start and end point.

-Original Message-
From: Alii Design [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 10:23 AM
To: CF-Talk
Subject: CFHTTP??


How do I display a specific area of a CFHTTP request if I know where I want
the beginning and end to be?

Rich
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP??

2001-05-30 Thread Kelly Matthews

Here is a good example this get's a dilbert comic out of a CFHTTP string:
http://www.unitedmedia.com/comics/dilbert/"; METHOD="GET"
RESOLVEURL="Yes">
http://www.unitedmedia.com/comics/dilbert/archive/images/dilbert",CFHT
TP.FileContent)>

",Variables.MyURL)>



-Original Message-
From: Alii Design [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 10:23 AM
To: CF-Talk
Subject: CFHTTP??


How do I display a specific area of a CFHTTP request if I know where I want
the beginning and end to be?

Rich
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP??

2001-05-30 Thread Dylan Bromby

you can use Find() and Mid() to extract specific code.

assume text.txt contains the string "this is my dog and he likes to eat
cats".










#substring#


that will extract "cats" from the string.

you might want to read up on Find(), FindNoCase(), and Mid().

-Original Message-
From: Alii Design [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 7:23 AM
To: CF-Talk
Subject: CFHTTP??


How do I display a specific area of a CFHTTP request if I know where I want
the beginning and end to be?

Rich
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP??

2001-05-30 Thread Alii Design

This tag is excellent and makes it so easy to do the CFHTTP parse without
using Find, Mid, ReFind etc...

Rich

-Original Message-
From: Michael Lugassy [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 30, 2001 11:36 AM
To: CF-Talk
Subject: Re: CFHTTP??


I use a great custom tag that is called getInsideString.
you can specify TEXT to search for (in u'r case: cfhttp.filecontent) and
START, POS
to look for and it will create a new VARNAME that hold anything that is in
between.
ONE OF THE BEST TAGS IVE SEEN!!!

If you can't find it in the gallery, let me know.

Thanks,

Michael Lugassy
IT/WEB Specialist
Interactive Music Ltd.
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2001-02-10 Thread Melissa Fraher

Have you applied Service Pack 2?  This fixed the connection failure problem using 
CFHTTP in my case.

Nick Texidor wrote:

> Hi,
>
> I'm having some problems with CFHTTP and wondered whether anyone may be able
> to help out.
>
> I am trying to post to a secure URL, passing through 4 form fields, but I
> keep getting a 'Connection Failure' message.
>
> If I remove the HTTPPARAM's, and change the method to GET, I still get a
> failure message.
>
> I have tried getting another secure page, however the GET call works, and
> the POST still fails.
>
> Does anyone have any ideas?
>
> I am running CF4.5 on NT4 SP6.
>
> Any help would be gratefully appreciated!
>
> Thanks
>
> N
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-02-15 Thread Scott, Andrew

Is the remote server being connected from, sit behind a firewall:-) The http
request might be secured behind the firewall:-)

regards

Andrew Scott
Senior Coldfusion Application Developer


-Original Message-
From: Martin S [mailto:[EMAIL PROTECTED]]
Sent: 16 February 2001 09:12
To: CF-Talk
Subject: CFHTTP


Hi,

I have written a rather complex CFHTTP method POST agent and constantly am
receiving the Connection Failure output.  My CF file with the cfhttp tag
resides on the local host and the page being "POST(ed)" is remote.

When display the #CFHTTP.ResponseHeader# the following error is displayed :
>Error Diagnostic Information
>Expression result cannot be converted to a string
>
>Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. > must
>evaluate to a value that can be converted to a string for output or dynamic
>text accumulation purposes. Complex objects, such as queries, arrays, and
>COM/DCOM objects, cannot be represented as strings.

>The error occurred while processing an element with a general identifier of
>(#CFHTTP.ResponseHeader#), occupying document position (26:1) to (26:23).

I then made a simple CFHTTP method = get that requested a blank page on the
local computer/local drive and directory.  I receive the SAME error.  The
page being requested just outputs HELLO WORLD..and I still receive the
Connection Failure error.

I can't figure this out.  I have done several other CFHTTP tags before with
no problems.

Any help would be much appreciated.

Thanks
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-02-15 Thread Parker, Kevin

Can't offer a solution but I'm just curious to know how CFHTTP differs from
A HREF



+
Kevin Parker
Web Services Manager
WorkCover Corporation

[EMAIL PROTECTED]

www.workcover.com

p: +61 8 82332548
f: +61 8 82332000
m: 0418 800 287

+


-Original Message-
From: Martin S [mailto:[EMAIL PROTECTED]]
Sent: Friday, 16 February 2001 8:42:AM
To: CF-Talk
Subject: CFHTTP


Hi,

I have written a rather complex CFHTTP method POST agent and constantly am
receiving the Connection Failure output.  My CF file with the cfhttp tag
resides on the local host and the page being "POST(ed)" is remote.

When display the #CFHTTP.ResponseHeader# the following error is displayed :
>Error Diagnostic Information
>Expression result cannot be converted to a string
>
>Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. > must
>evaluate to a value that can be converted to a string for output or dynamic
>text accumulation purposes. Complex objects, such as queries, arrays, and
>COM/DCOM objects, cannot be represented as strings.

>The error occurred while processing an element with a general identifier of
>(#CFHTTP.ResponseHeader#), occupying document position (26:1) to (26:23).

I then made a simple CFHTTP method = get that requested a blank page on the
local computer/local drive and directory.  I receive the SAME error.  The
page being requested just outputs HELLO WORLD..and I still receive the
Connection Failure error.

I can't figure this out.  I have done several other CFHTTP tags before with
no problems.

Any help would be much appreciated.

Thanks
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2001-02-15 Thread Bryan LaPlante

HREF sends  a get and cfhttp can send a post the difference in receiving
page is url.var versus form.for.
There are lots of diffs, that's just one of them.
- Original Message -
From: "Parker, Kevin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, February 15, 2001 9:32 PM
Subject: RE: CFHTTP


> Can't offer a solution but I'm just curious to know how CFHTTP differs
from
> A HREF
>
>
>
> +
> Kevin Parker
> Web Services Manager
> WorkCover Corporation
>
> [EMAIL PROTECTED]
>
> www.workcover.com
>
> p: +61 8 82332548
> f: +61 8 82332000
> m: 0418 800 287
>
> +
>
>
> -Original Message-
> From: Martin S [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 16 February 2001 8:42:AM
> To: CF-Talk
> Subject: CFHTTP
>
>
> Hi,
>
> I have written a rather complex CFHTTP method POST agent and constantly am
> receiving the Connection Failure output.  My CF file with the cfhttp tag
> resides on the local host and the page being "POST(ed)" is remote.
>
> When display the #CFHTTP.ResponseHeader# the following error is displayed
:
> >Error Diagnostic Information
> >Expression result cannot be converted to a string
> >
> >Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. > must
> >evaluate to a value that can be converted to a string for output or
dynamic
> >text accumulation purposes. Complex objects, such as queries, arrays, and
> >COM/DCOM objects, cannot be represented as strings.
>
> >The error occurred while processing an element with a general identifier
of
> >(#CFHTTP.ResponseHeader#), occupying document position (26:1) to (26:23).
>
> I then made a simple CFHTTP method = get that requested a blank page on
the
> local computer/local drive and directory.  I receive the SAME error.  The
> page being requested just outputs HELLO WORLD..and I still receive the
> Connection Failure error.
>
> I can't figure this out.  I have done several other CFHTTP tags before
with
> no problems.
>
> Any help would be much appreciated.
>
> Thanks
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2001-02-15 Thread Nick Texidor

Hi Kevin, 

A HREF takes you to another page from a link.

CFHTTP is used within a CF page to go off and maybe POST information to
another page, or get content from a page, and then continue processing back
in the same page.

  

> From: "Parker, Kevin" <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Fri, 16 Feb 2001 14:02:39 +1030
> To: CF-Talk <[EMAIL PROTECTED]>
> Subject: RE: CFHTTP
> 
> Can't offer a solution but I'm just curious to know how CFHTTP differs from
> A HREF
> 
> 
> 
> +
> Kevin Parker
> Web Services Manager
> WorkCover Corporation
> 
> [EMAIL PROTECTED]
> 
> www.workcover.com
> 
> p: +61 8 82332548
> f: +61 8 82332000
> m: 0418 800 287
> 
> +
> 
> 
> -Original Message-
> From: Martin S [mailto:[EMAIL PROTECTED]]
> Sent: Friday, 16 February 2001 8:42:AM
> To: CF-Talk
> Subject: CFHTTP
> 
> 
> Hi,
> 
> I have written a rather complex CFHTTP method POST agent and constantly am
> receiving the Connection Failure output.  My CF file with the cfhttp tag
> resides on the local host and the page being "POST(ed)" is remote.
> 
> When display the #CFHTTP.ResponseHeader# the following error is displayed :
>> Error Diagnostic Information
>> Expression result cannot be converted to a string
>> 
>> Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. > must
>> evaluate to a value that can be converted to a string for output or dynamic
>> text accumulation purposes. Complex objects, such as queries, arrays, and
>> COM/DCOM objects, cannot be represented as strings.
> 
>> The error occurred while processing an element with a general identifier of
>> (#CFHTTP.ResponseHeader#), occupying document position (26:1) to (26:23).
> 
> I then made a simple CFHTTP method = get that requested a blank page on the
> local computer/local drive and directory.  I receive the SAME error.  The
> page being requested just outputs HELLO WORLD..and I still receive the
> Connection Failure error.
> 
> I can't figure this out.  I have done several other CFHTTP tags before with
> no problems.
> 
> Any help would be much appreciated.
> 
> Thanks
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2001-02-15 Thread Seva Petrov

Martin,

Not sure if this is going to help with resolving the "connection failure"
problem, but you can write CFHTTP.ResponseHeader to a file with ,
then read the file to get the debugging info you need. It is text,
although for some reason CF doesn't see it as such.

Best,
Seva Petrov


On Thu, 15 Feb 2001, Martin S wrote:

> When display the #CFHTTP.ResponseHeader# the following error is displayed :
> >Error Diagnostic Information
> >Expression result cannot be converted to a string
> >
> >Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. > must
> >evaluate to a value that can be converted to a string for output or dynamic
> >text accumulation purposes. Complex objects, such as queries, arrays, and
> >COM/DCOM objects, cannot be represented as strings.
>
> >The error occurred while processing an element with a general identifier of
> >(#CFHTTP.ResponseHeader#), occupying document position (26:1) to (26:23).


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-02-15 Thread Scott, Andrew

Actually its not text, and if you look closely enough to the docs it
explains that it is returned as an array, But looking at it from a cfa_dump
point of view shows it as being a Structured Array. So if you have spectra
installed or one of the many dump tags, you can simply do:-



regards

Andrew Scott
Senior Coldfusion Application Developer



-Original Message-
From: Seva Petrov [mailto:[EMAIL PROTECTED]]
Sent: 16 February 2001 15:56
To: CF-Talk
Subject: Re: CFHTTP


Martin,

Not sure if this is going to help with resolving the "connection failure"
problem, but you can write CFHTTP.ResponseHeader to a file with ,
then read the file to get the debugging info you need. It is text,
although for some reason CF doesn't see it as such.

Best,
Seva Petrov


On Thu, 15 Feb 2001, Martin S wrote:

> When display the #CFHTTP.ResponseHeader# the following error is displayed
:
> >Error Diagnostic Information
> >Expression result cannot be converted to a string
> >
> >Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. > must
> >evaluate to a value that can be converted to a string for output or
dynamic
> >text accumulation purposes. Complex objects, such as queries, arrays, and
> >COM/DCOM objects, cannot be represented as strings.
>
> >The error occurred while processing an element with a general identifier
of
> >(#CFHTTP.ResponseHeader#), occupying document position (26:1) to (26:23).
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-02-15 Thread Martin S

Not sure.  How to tell?

i try to ping it and get a TTL expired in transit.

However some of the pages on the site I can easily HTTP post too..but the 
one I need to I can't.

So any suggestions? does it sound liek a firewall issue??

Thanks


>From: "Scott, Andrew" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: RE: CFHTTP
>Date: Fri, 16 Feb 2001 13:29:19 +1100
>
>Is the remote server being connected from, sit behind a firewall:-) The 
>http
>request might be secured behind the firewall:-)
>
>regards
>
>Andrew Scott
>Senior Coldfusion Application Developer
>
>
>-Original Message-
>From: Martin S [mailto:[EMAIL PROTECTED]]
>Sent: 16 February 2001 09:12
>To: CF-Talk
>Subject: CFHTTP
>
>
>Hi,
>
>I have written a rather complex CFHTTP method POST agent and constantly am
>receiving the Connection Failure output.  My CF file with the cfhttp tag
>resides on the local host and the page being "POST(ed)" is remote.
>
>When display the #CFHTTP.ResponseHeader# the following error is displayed :
> >Error Diagnostic Information
> >Expression result cannot be converted to a string
> >
> >Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. > must
> >evaluate to a value that can be converted to a string for output or 
>dynamic
> >text accumulation purposes. Complex objects, such as queries, arrays, and
> >COM/DCOM objects, cannot be represented as strings.
>
> >The error occurred while processing an element with a general identifier 
>of
> >(#CFHTTP.ResponseHeader#), occupying document position (26:1) to (26:23).
>
>I then made a simple CFHTTP method = get that requested a blank page on the
>local computer/local drive and directory.  I receive the SAME error.  The
>page being requested just outputs HELLO WORLD..and I still receive the
>Connection Failure error.
>
>I can't figure this out.  I have done several other CFHTTP tags before with
>no problems.
>
>Any help would be much appreciated.
>
>Thanks
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-02-15 Thread Scott, Andrew

maybe its a case that the template is so complex that it is actually timeing
out, what do the application logs say:-)

regards

Andrew Scott
Senior Coldfusion Application Developer
ANZ Business eCommerce
* Ph 8615 6018
* [EMAIL PROTECTED]

---
> This e-mail and any attachments to it (the "Communication") is
confidential and is for the use only of the intended recipient. The
Communication may contain copyright material of Australia and New Zealand
Banking Group Limited ABN 11 005 357 522 ("ANZ"), or any of its related
entities or of third parties. If you are not the intended recipient of the
Communication, please notify the sender immediately by return e-mail, delete
the Communication, and do not read, copy, print, retransmit, store or act in
reliance on the Communication. Any views expressed in the Communication are
those of the individual sender only, unless expressly stated to be those of
ANZ. ANZ does not guarantee the integrity of the Communication, or that it
is free from errors, viruses or interference.


-Original Message-
From: Martin S [mailto:[EMAIL PROTECTED]]
Sent: 16 February 2001 16:32
To: CF-Talk
Subject: RE: CFHTTP


Not sure.  How to tell?

i try to ping it and get a TTL expired in transit.

However some of the pages on the site I can easily HTTP post too..but the 
one I need to I can't.

So any suggestions? does it sound liek a firewall issue??

Thanks


>From: "Scott, Andrew" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: RE: CFHTTP
>Date: Fri, 16 Feb 2001 13:29:19 +1100
>
>Is the remote server being connected from, sit behind a firewall:-) The 
>http
>request might be secured behind the firewall:-)
>
>regards
>
>Andrew Scott
>Senior Coldfusion Application Developer
>
>
>-Original Message-
>From: Martin S [mailto:[EMAIL PROTECTED]]
>Sent: 16 February 2001 09:12
>To: CF-Talk
>Subject: CFHTTP
>
>
>Hi,
>
>I have written a rather complex CFHTTP method POST agent and constantly am
>receiving the Connection Failure output.  My CF file with the cfhttp tag
>resides on the local host and the page being "POST(ed)" is remote.
>
>When display the #CFHTTP.ResponseHeader# the following error is displayed :
> >Error Diagnostic Information
> >Expression result cannot be converted to a string
> >
> >Expressions used inside tags like CFOUTPUT, CFQUERY, CFMAIL, etc. > must
> >evaluate to a value that can be converted to a string for output or 
>dynamic
> >text accumulation purposes. Complex objects, such as queries, arrays, and
> >COM/DCOM objects, cannot be represented as strings.
>
> >The error occurred while processing an element with a general identifier 
>of
> >(#CFHTTP.ResponseHeader#), occupying document position (26:1) to (26:23).
>
>I then made a simple CFHTTP method = get that requested a blank page on the
>local computer/local drive and directory.  I receive the SAME error.  The
>page being requested just outputs HELLO WORLD..and I still receive the
>Connection Failure error.
>
>I can't figure this out.  I have done several other CFHTTP tags before with
>no problems.
>
>Any help would be much appreciated.
>
>Thanks
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-03-12 Thread Caulfield, Michael

I think this is a CF 4.5.x bug. If CF doesn't recognize the file type as
text, then CF
won't display the FileContent, even if it is ASCII.

I'm not sure if the service packs addressed this or not. What are you
running?

-Original Message-
From: John McCosker [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 9:50 AM
To: CF-Talk
Subject: CFHTTP


OK Folks,

I have two pages, on my first I have a dynamically populated select box that
has vehicles listed from a database,

the second page is my action page that pulls out my data like so,





SELECT  callsign, vowner, dt, Lat, Lon, Speed, Direction,
Veh_Reg
FROMdbo.vehicles
WHERE   callsign = '#form.callsign#'



Now after this query is run I pass values from the record set (also on the
same action page) to another server on a different domain to get a rendered
map showing an icon which represents my vehicle selected like so,

http://maps.whereonearth.com/cgi-bin/mapview.exe" method="POST">







http://bogus/areaOnline.com resolveurl = 1
throwonerror = Yes method="GET">


#cfhttp.filecontent#

When I run my page my values are output correctly, but I get an error like
so,

The requested file is not ASCII text and can not be rendered.
any ideas out there would be deeply appreciated,

many thanx, by the way "Stir of Echeos" great movie..
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-03-12 Thread John McCosker

I am running enterprise server 4.5.1

-Original Message-
From: Caulfield, Michael [mailto:[EMAIL PROTECTED]]
Sent: 12 March 2001 16:54
To: CF-Talk
Subject: RE: CFHTTP


I think this is a CF 4.5.x bug. If CF doesn't recognize the file type as
text, then CF
won't display the FileContent, even if it is ASCII.

I'm not sure if the service packs addressed this or not. What are you
running?

-Original Message-
From: John McCosker [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 9:50 AM
To: CF-Talk
Subject: CFHTTP


OK Folks,

I have two pages, on my first I have a dynamically populated select box that
has vehicles listed from a database,

the second page is my action page that pulls out my data like so,





SELECT  callsign, vowner, dt, Lat, Lon, Speed, Direction,
Veh_Reg
FROMdbo.vehicles
WHERE   callsign = '#form.callsign#'



Now after this query is run I pass values from the record set (also on the
same action page) to another server on a different domain to get a rendered
map showing an icon which represents my vehicle selected like so,

http://maps.whereonearth.com/cgi-bin/mapview.exe" method="POST">







http://bogus/areaOnline.com resolveurl = 1
throwonerror = Yes method="GET">


#cfhttp.filecontent#

When I run my page my values are output correctly, but I get an error like
so,

The requested file is not ASCII text and can not be rendered.
any ideas out there would be deeply appreciated,

many thanx, by the way "Stir of Echeos" great movie..
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-03-12 Thread John McCosker

Further to my existing query is cfhttp restricted to coldfusion templates or
can it it be compatible with any executable awaiting the parameters within
cfhhtp,
 to quote the help docs

"Post passes data to a specified ColdFusion page or to some executable that
interprets the variables being sent and returns data."

-Original Message-
From: John McCosker [mailto:[EMAIL PROTECTED]]
Sent: 12 March 2001 17:05
To: CF-Talk
Subject: RE: CFHTTP


I am running enterprise server 4.5.1

-Original Message-
From: Caulfield, Michael [mailto:[EMAIL PROTECTED]]
Sent: 12 March 2001 16:54
To: CF-Talk
Subject: RE: CFHTTP


I think this is a CF 4.5.x bug. If CF doesn't recognize the file type as
text, then CF
won't display the FileContent, even if it is ASCII.

I'm not sure if the service packs addressed this or not. What are you
running?

-Original Message-
From: John McCosker [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 9:50 AM
To: CF-Talk
Subject: CFHTTP


OK Folks,

I have two pages, on my first I have a dynamically populated select box that
has vehicles listed from a database,

the second page is my action page that pulls out my data like so,





SELECT  callsign, vowner, dt, Lat, Lon, Speed, Direction,
Veh_Reg
FROMdbo.vehicles
WHERE   callsign = '#form.callsign#'



Now after this query is run I pass values from the record set (also on the
same action page) to another server on a different domain to get a rendered
map showing an icon which represents my vehicle selected like so,

http://maps.whereonearth.com/cgi-bin/mapview.exe" method="POST">







http://bogus/areaOnline.com resolveurl = 1
throwonerror = Yes method="GET">


#cfhttp.filecontent#

When I run my page my values are output correctly, but I get an error like
so,

The requested file is not ASCII text and can not be rendered.
any ideas out there would be deeply appreciated,

many thanx, by the way "Stir of Echeos" great movie..
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-03-12 Thread Philip Arnold - ASP

> I think this is a CF 4.5.x bug. If CF doesn't recognize the file type as
> text, then CF won't display the FileContent, even if it is ASCII.
>
> I'm not sure if the service packs addressed this or not. What are you
> running?

You've just reminded me which way around it is - it's a 4.5.x bug - it works
perfectly in 4.0.1

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-03-12 Thread John McCosker

Will the service pack cater for this problem, or am I peering at a big block
of grey anti-matter.

-Original Message-
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: 12 March 2001 17:31
To: CF-Talk
Subject: RE: CFHTTP


> I think this is a CF 4.5.x bug. If CF doesn't recognize the file type as
> text, then CF won't display the FileContent, even if it is ASCII.
>
> I'm not sure if the service packs addressed this or not. What are you
> running?

You've just reminded me which way around it is - it's a 4.5.x bug - it works
perfectly in 4.0.1

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP

2001-03-12 Thread Dave Watts

> Further to my existing query is cfhttp restricted to 
> coldfusion templates or can it it be compatible with 
> any executable awaiting the parameters within cfhhtp,
>  to quote the help docs
> 
> "Post passes data to a specified ColdFusion page or to some 
> executable that interprets the variables being sent and 
> returns data."

You can use CFHTTP against any URL that will respond to the GET or POST
request you send it. It doesn't matter what server-side language is used to
generate that response. CFHTTP is used by CF as an HTTP client, and from the
remote server's perspective, it's like any other HTTP client.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: cfhttp

2001-03-21 Thread Jon Hall

How about posting the error and the offending code?
I suspect however that the url given to the cfhttp tag may have the server
hard coded into it.

jon
- Original Message -
From: "Won Lee" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 21, 2001 7:35 PM
Subject: cfhttp


> Hey there gang,
>
> Quick questions.   Got some code that has a CFHTTP get tag.  Works fine
> except when we moved the code over to another server.
> This has to be a web server setting or something right?  Anyone have
> experience with this?
>
> Won
>
> Dulce bellum inexpertis...
>
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP?

2002-01-02 Thread Bryan Stevenson

Just 1 error:

The page cannot be displayed

;-)

Bryan Stevenson
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
p. 250.920.8830
e. [EMAIL PROTECTED]
-
Allaire Alliance Partner
www.allaire.com

- Original Message -
From: "Kris Pilles" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, January 02, 2002 11:18 AM
Subject: CFHTTP?


> I AM HAVING AL SORTS OF PROBLEMS WITH CFHTTP...
>
> HTTP://Webmaster.wsboces.org/test.cfm
>
> Refresh the page multiple times and notice a bunch of different error
> messages
>
> Notice all the different errors anyone have any idea on how or why this
> 
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP?

2002-01-02 Thread Paul Wille

Kris,

I'm getting a 500 Server Error.  Is the rest of the site working okay?
Perhaps you could post the code for us to take a look at.

Regards,

--Paul

Paul W. Wille[EMAIL PROTECTED]
--

--
ISITE Design, Inc. - Solutions Architect
www.isitedesign.com
503.221.9860 x110
888.269.9103
503.221.9865 fax
 
 
 
 
 

-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 02, 2002 11:18 AM
To: CF-Talk
Subject: CFHTTP?

I AM HAVING AL SORTS OF PROBLEMS WITH CFHTTP...

HTTP://Webmaster.wsboces.org/test.cfm

Refresh the page multiple times and notice a bunch of different error
messages

Notice all the different errors anyone have any idea on how or why this

__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: CFHTTP?

2002-01-02 Thread Kris Pilles

Ok...

Here is the link to the file:
http://webmaster.wsboces.org/courseinfo/courses.txt

The code is:

http://webmaster.wsboces.org/courseinfo/courses.txt";
method="Get"
delimiter=","
throwonerror="yes"
textqualifier="||"
columns="sname, Catalog_code, Catalog_name, Keywords"
name="buildcourses">




Insert into category (code, name, keyword)

values('#buildcourses.catalog_code#','#buildcourses.Catalog_name#','#buildco
urses.Keywords#')





Its really acting funny... I can't figure it out

-Original Message-
From: Paul Wille [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 02, 2002 2:38 PM
To: CF-Talk
Subject: RE: CFHTTP?


Kris,

I'm getting a 500 Server Error.  Is the rest of the site working okay?
Perhaps you could post the code for us to take a look at.

Regards,

--Paul

Paul W. Wille[EMAIL PROTECTED]
--

--
ISITE Design, Inc. - Solutions Architect
www.isitedesign.com
503.221.9860 x110
888.269.9103
503.221.9865 fax
 
 
 
 
 

-Original Message-
From: Kris Pilles [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, January 02, 2002 11:18 AM
To: CF-Talk
Subject: CFHTTP?

I AM HAVING AL SORTS OF PROBLEMS WITH CFHTTP...

HTTP://Webmaster.wsboces.org/test.cfm

Refresh the page multiple times and notice a bunch of different error
messages

Notice all the different errors anyone have any idea on how or why this


__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2002-01-29 Thread Paul Giesenhagen

This information will pull weather data from accuweather.com for Dryden
Ontario (Canada)






http://www.accuweather.com/adcbin/intlocal_index?wxcity2=DRYDEN&wxcount
ry=CA;ON&metric=0" RESOLVEUL="true" throwonerror="true">





  

  

  


  
  #variables.final_content#
  

Hope this helps... take a look at the orginial url and it's content and it
will hopefully make more sense... basically the whole html file is
retrieved, and you just look for a starting point and an ending point and
strip out everything outside of that.

Good Luck

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector - Commerce Builder


> I recently made a simple page using CFHTTP that pulled a webpage and
> displayed it. What I heard could be done with CFHTTP was you could pull
> a page and have CF look at the source and only display certain parts
> that are between a start and end point that you specify. Could someone
> give me an example of this?
>
> Thanks,
> Jim Vosika
>
>
> 
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2002-01-30 Thread max

I need help with taking one page apart using CFHTTP.
Actually I need to take the page on 3 parts, like header, middle, and
footer, based on comments.
Is somewone had to do similar thing?
Could anybody give asample of it?
Thanks a lot.
Max.

- Original Message -
From: "Paul Giesenhagen" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, January 30, 2002 1:11 AM
Subject: Re: CFHTTP


> This information will pull weather data from accuweather.com for Dryden
> Ontario (Canada)
>
> 
> 
> 
> 
> 
> 
URL="http://www.accuweather.com/adcbin/intlocal_index?wxcity2=DRYDEN&wxcount
> ry=CA;ON&metric=0" RESOLVEUL="true" throwonerror="true">
>
> 
> 
>
> 
>variables.orginal_content)>
> 
>variables.orginal_content, variables.edit_content)>
> 
>variables.edit_content,
> variables.final_edit_content-198-variables.edit_content)>
>
> 
>   
>   #variables.final_content#
>   
>
> Hope this helps... take a look at the orginial url and it's content and it
> will hopefully make more sense... basically the whole html file is
> retrieved, and you just look for a starting point and an ending point and
> strip out everything outside of that.
>
> Good Luck
>
> Paul Giesenhagen
> QuillDesign
> http://www.quilldesign.com
> SiteDirector - Commerce Builder
>
>
> > I recently made a simple page using CFHTTP that pulled a webpage and
> > displayed it. What I heard could be done with CFHTTP was you could pull
> > a page and have CF look at the source and only display certain parts
> > that are between a start and end point that you specify. Could someone
> > give me an example of this?
> >
> > Thanks,
> > Jim Vosika
> >
> >
> >
> 
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2002-01-30 Thread Paul Giesenhagen

The example below basically is doing that, it is just taking out the middle
area.  You need to find distinct places within the code to decern starting
and ending points.

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector - Commerce Builder


> I need help with taking one page apart using CFHTTP.
> Actually I need to take the page on 3 parts, like header, middle, and
> footer, based on comments.
> Is somewone had to do similar thing?
> Could anybody give asample of it?
> Thanks a lot.
> Max.
>
> - Original Message -
> From: "Paul Giesenhagen" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, January 30, 2002 1:11 AM
> Subject: Re: CFHTTP
>
>
> > This information will pull weather data from accuweather.com for Dryden
> > Ontario (Canada)
> >
> > 
> > 
> > 
> > 
> > 
> >  >
>
URL="http://www.accuweather.com/adcbin/intlocal_index?wxcity2=DRYDEN&wxcount
> > ry=CA;ON&metric=0" RESOLVEUL="true" throwonerror="true">
> >
> > 
> > 
> >
> > 
> >> variables.orginal_content)>
> > 
> >> variables.orginal_content, variables.edit_content)>
> > 
> >> variables.edit_content,
> > variables.final_edit_content-198-variables.edit_content)>
> >
> > 
> >   
> >   #variables.final_content#
> >   
> >
> > Hope this helps... take a look at the orginial url and it's content and
it
> > will hopefully make more sense... basically the whole html file is
> > retrieved, and you just look for a starting point and an ending point
and
> > strip out everything outside of that.
> >
> > Good Luck
> >
> > Paul Giesenhagen
> > QuillDesign
> > http://www.quilldesign.com
> > SiteDirector - Commerce Builder
> >
> >
> > > I recently made a simple page using CFHTTP that pulled a webpage and
> > > displayed it. What I heard could be done with CFHTTP was you could
pull
> > > a page and have CF look at the source and only display certain parts
> > > that are between a start and end point that you specify. Could someone
> > > give me an example of this?
> > >
> > > Thanks,
> > > Jim Vosika
> > >
> > >
> > >
> >
> 
__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: CFHTTP

2002-01-30 Thread BEN MORRIS

I think the basic logic would be to first find the location in the string 
of each break point between the sections, and then use mid() and/or left() 
to get the sections of the page.

So, to get the header, you might do:
", l_CfhttpVarName
)>


>>> <[EMAIL PROTECTED]> 01/30/02 09:12AM >>>
I need help with taking one page apart using CFHTTP.
Actually I need to take the page on 3 parts, like header, middle, and
footer, based on comments.
Is somewone had to do similar thing?
Could anybody give asample of it?
Thanks a lot.
Max.

- Original Message -
From: "Paul Giesenhagen" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, January 30, 2002 1:11 AM
Subject: Re: CFHTTP


> This information will pull weather data from accuweather.com for Dryden
> Ontario (Canada)
>
> 
> 
> 
> 
> 
> 
URL="http://www.accuweather.com/adcbin/intlocal_index?wxcity2=DRYDEN&wx
count 
> ry=CA;ON&metric=0" RESOLVEUL="true" throwonerror="true">

>
> 
> 
>
> 
>variables.orginal_content)>
> 
>variables.orginal_content, variables.edit_content)>
> 
>variables.edit_content,
> variables.final_edit_content-198-variables.edit_content)>
>
> 
>   
>   #variables.final_content#
>   
>
> Hope this helps... take a look at the orginial url and it's content and 
it
> will hopefully make more sense... basically the whole html file is
> retrieved, and you just look for a starting point and an ending point 
and
> strip out everything outside of that.
>
> Good Luck
>
> Paul Giesenhagen
> QuillDesign
> http://www.quilldesign.com 
> SiteDirector - Commerce Builder
>
>
> > I recently made a simple page using CFHTTP that pulled a webpage and
> > displayed it. What I heard could be done with CFHTTP was you could 
pull
> > a page and have CF look at the source and only display certain parts
> > that are between a start and end point that you specify. Could someone
> > give me an example of this?
> >
> > Thanks,
> > Jim Vosika
> >
> >
> >
> 

__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: cfhttp

2004-03-02 Thread Katz, Dov B (IT)
(...Rejoining thread with Cftalk list)

John,

Makes sense.  From what you are saying, the HTTP requests are dependent
on a web service, and that is the bottlenecking factor.

This means, you won't be able to speed it up, since a
web-service-request is needed per request, so serializing your requests
might help sometimes, but you're assuming nobody else is also using the
web service.. A web service which cant handle concurrency will probably
always be your bottleneck.

Here are some points to consider:

1) Locking Overhead in this case : If locking were to help (and in this
case, I don't see how it would), the overhead would be minimal if you're
protecting access to a slow cfhttp request.  No matter what you do,
you'd be queueing up requests in cf, preventing it from working on any
other cf pages being served out.

---> what would be nice (and maybe this is possible, I'm not totally up
to speed with cf6.1's new features) is if CF could allow you to specify
named queues at the server level, and specify that if this web page were
to queue up on the cf server, it should go into its own queue. This
would prevent (in theory, if done right) all other cf pages to wait for
the bottlenecking pages.

2) Question:   - Do you need these images stored on disk, or are they
just stored to serve out to the user?  If the latter, why not run a
separate web server which may or may not be CF-based, to proxy requests
to the web service, and pushes the content to the browser? You can get a
cheap web server hosting account and with a little perl or server-side
asp, etc. you can write a page which pushes GIF's based on query
strings...  i.e. img
src="">
d=to&web=server'  -  This would take the responsibility and load off
of your cf server.

Just some ideas and comments...
-Dov


> -Original Message-
> From: John McCosker [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 02, 2004 6:34 AM
> To: Katz, Dov B (IT)
> Subject: RE: cfhttp
> 
> Yea your right,
> 
> how did I get so slack, CreateUUID will be unique per request 
> so effectively undermining the lock.
> The site I am connecting to as far as I am aware supports 
> concurrency but under heavy traffic cfhttp is slow and in 
> some cases the image never loads. So this led me to think 
> that locking would resolve the issue.
> 
> Of course there is overhead associated with locking, and I'm 
> wondering would locking by one unique name resolve issues 
> with the cfhttp call.
> 
> A schedule would not resolve the issue as its created on per 
> request, the user selects what they want and longitude and 
> lititudes are placed into xml which send hte packet to the 
> web service, the service returns a gif image. This could'nt 
> really be done via a schedule as its all interaction based.
> -Original Message-
> From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED]
> Sent: 02 March 2004 10:59
> To: [EMAIL PROTECTED]
> Subject: RE: cfhttp
> 
> 
> John,
> (perhaps repost to the list, it doesnt like me when I use outlook web
> access)
> 
> CFLOCK doesn't seem to buy you anything here, especially 
> since the name is
> unique, and presumably no other lock is created with the same 
> name ..
> 
> What is your logic? How are you trying to protect from a 
> slowdown? If you
> are periodically getting images, you might want to run scheduled tasks
> independently of use of the web app. 
> 
> The bottom line is, I don't understand how you are trying to 
> save the server
> any work...
> I usually use CFLOCK like below...
> 
> 
> do something with the results of the last run of the intense 
> operations
> if i am reading from a file i might write within the lock 
> below, i might
> cflock around the CFFILE read only... with a timeout...
> 
> 
> LOAD INTENSIVE OPERATIONS, 
> If you are performing an operation which is generating or 
> downloading files,
> I'd start with a temp file, and then rename it in a single 
> operation. That
> way if it fails, you lose nothing 
> 
> 
> 
> HTH 
> -dov
> -Original Message- 
> From: John mccosker [mailto:[EMAIL PROTECTED] 
> Sent: Tue 3/2/2004 4:42 AM 
> To: CF-Talk 
> Cc: 
> Subject: cfhttp
> 
> 
> Hi, what is the best way to lock cfhttp when facing hi 
> transaction traffic.
> I was thinking something along the lines of this 
> name="#CreateUUID()#" timeout="60">
> URL="" 
> PATH="#REQUEST.StoreMapRoot#" FILE="#MAP_NAME##COOKIE.MAP_COUNT#.gif">
> 
> 
> 
> , We have noticed that the pages run very 
> slow that call
> cfhttp when traffic is at its highest. Thanks for any advice, J. 
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CFHTTP

2004-07-28 Thread Dave Watts
> I have never used CFHTTP before,and I am running in to an 
> issue.  I would like to retrieve information from a form on a 
> remote server.  If I simple do this in IE .
> 
> https://username:[EMAIL PROTECTED]/search.cgi?name=searc
> hname&number=123&search=all
> 
> This returns the proper information in my browser.
> 
> So I tried this in CF
> 
> 
> name="username" 
> password="password" 
> method="get" 
> url="" 
> resolveurl="yes">
> 
> 
> 
>    #cfhttp.FileContent# 
> 
> But I get the following error  
>   The column name "
> HTML 2.0//EN>" is invalid.  
>   Column names must be valid variable names. They must 
> start with a letter and can only include letters, numbers, 
> and underscores.  
> 
> 
> I don't really understand how columns work. I would just like 
> to display that page or save it to a variable.
> 
> How do I deal with columns with CFHTTP?

I'm not sure what exactly you're getting back, but your first URL uses
HTTPS, while your CFHTTP tag isn't. You must specify the entire URL within
the CFHTTP tag (https://...)

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHTTP

2004-07-28 Thread Bryan Stevenson
h...not sure what that column stuff is aboutbut have a look at CFHTTPPARAM...it's used for passing in the URL params "?name=searchname&number=123&search=all" properly

Sorry.,...tad rusty on CFHTTPbut that should shed some light

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

  - Original Message - 
  From: Mickael 
  To: CF-Talk 
  Sent: Wednesday, July 28, 2004 1:06 PM
  Subject: CFHTTP

  Hello All,

  I have never used CFHTTP before,and I am running in to an issue.  I would like to retrieve information from a form on a remote server.  If I simple do this in IE .

  https://username:[EMAIL PROTECTED]/search.cgi?name=searchname&number=123&search=all

  This returns the proper information in my browser.

  So I tried this in CF

  
  name="username" 
  password="password" 
  method="get" 
  url="" 
  resolveurl="yes">

  
 #cfhttp.FileContent# 

  But I get the following error  
The column name "" is invalid.  
Column names must be valid variable names. They must start with a letter and can only include letters, numbers, and underscores.  

  I don't really understand how columns work. I would just like to display that page or save it to a variable.

  How do I deal with columns with CFHTTP?

  Mike
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: CFHTTP

2004-07-28 Thread Dave Watts
> I'm not sure what exactly you're getting back, but your first 
> URL uses HTTPS, while your CFHTTP tag isn't. You must specify 
> the entire URL within the CFHTTP tag (https://...)

Actually, to be more accurate, if you don't specify the protocol in the URL
attribute, it will default to HTTP rather than HTTPS. You can either specify
it within the URL attribute or set the PORT attribute to "443", I think.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: CFHTTP

2004-07-28 Thread Dave Watts
> h...not sure what that column stuff is aboutbut have 
> a look at CFHTTPPARAM...it's used for passing in the URL 
> params "?name=searchname&number=123&search=all" properly

You can send URL parameters embedded directly within the URL attribute,
rather than using CFHTTPPARAM.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHTTP

2004-07-28 Thread Mike Kelp
1) You are getting the column error because you are passing the "name"
attribute, which specifies a variable name for creating a query based
on the data returned (hence cf is looking for a list of column names
in the first line of the response)

2) Check out the livedocs!
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p58.htm#wp1632966

I hope this helps you solve your problem. CFHTTP is a great tag, but
it is easy to get confused with all the parameters for its
wide-ranging capabilities.

Later.

- Original Message -
From: Bryan Stevenson <[EMAIL PROTECTED]>
Date: Wed, 28 Jul 2004 13:24:20 -0700
Subject: Re: CFHTTP
To: CF-Talk <[EMAIL PROTECTED]>

h...not sure what that column stuff is aboutbut have a look at
CFHTTPPARAM...it's used for passing in the URL params
"?name=searchname&number=123&search=all" properly

 Sorry.,...tad rusty on CFHTTPbut that should shed some light

 Cheers

 Bryan Stevenson B.Comm.
 VP & Director of E-Commerce Development
 Electric Edge Systems Group Inc.
 t. 250.920.8830
 e. [EMAIL PROTECTED]

   - Original Message - 
   From: Mickael 
   To: CF-Talk 
   Sent: Wednesday, July 28, 2004 1:06 PM
   Subject: CFHTTP

 
   Hello All,

 
   I have never used CFHTTP before,and I am running in to an issue.  I
would like to retrieve information from a form on a remote server.  If
I simple do this in IE .

 
   https://username:[EMAIL PROTECTED]/search.cgi?name=searchname&number=123&search=all

 
   This returns the proper information in my browser.

 
   So I tried this in CF

 
   
   name="username" 
   password="password" 
   method="get" 
   url="" 
   resolveurl="yes">

 
   
  #cfhttp.FileContent# 

 
   But I get the following error  
 The column name "
2.0//EN>" is invalid.
 Column names must be valid variable names. They must start
with a letter and can only include letters, numbers, and underscores.

 
   I don't really understand how columns work. I would just like to
display that page or save it to a variable.

 
   How do I deal with columns with CFHTTP?

 
   Mike
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHTTP

2004-07-28 Thread Bryan Stevenson
hehe...like I said...rusty ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

  - Original Message - 
  From: Dave Watts 
  To: CF-Talk 
  Sent: Wednesday, July 28, 2004 1:49 PM
  Subject: RE: CFHTTP

  > h...not sure what that column stuff is aboutbut have 
  > a look at CFHTTPPARAM...it's used for passing in the URL 
  > params "?name=searchname&number=123&search=all" properly

  You can send URL parameters embedded directly within the URL attribute,
  rather than using CFHTTPPARAM.

  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  phone: 202-797-5496
  fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHTTP

2004-07-28 Thread Adam Haskell
I would re-look at your actual Cfhttp call Invalid column would
indicate to me that you are trying to put the cfhttp content into a
query.

Notice: 

name="username"

Should be: 

username="username"

Adam H

On Wed, 28 Jul 2004 16:49:27 -0400, Dave Watts <[EMAIL PROTECTED]> wrote:
> > h...not sure what that column stuff is aboutbut have
> > a look at CFHTTPPARAM...it's used for passing in the URL
> > params "?name=searchname&number=123&search=all" properly
> 
> You can send URL parameters embedded directly within the URL attribute,
> rather than using CFHTTPPARAM.
> 
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> phone: 202-797-5496
> fax: 202-797-5444
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHTTP

2004-07-28 Thread Mickael
Hi Dave,

Sorry this was a cut and paste issue, my tag does use https://
  - Original Message - 
  From: Dave Watts 
  To: CF-Talk 
  Sent: Wednesday, July 28, 2004 4:31 PM
  Subject: RE: CFHTTP

  > I have never used CFHTTP before,and I am running in to an 
  > issue.  I would like to retrieve information from a form on a 
  > remote server.  If I simple do this in IE .
  > 
  > https://username:[EMAIL PROTECTED]/search.cgi?name=searc
  > hname&number=123&search=all
  > 
  > This returns the proper information in my browser.
  > 
  > So I tried this in CF
  > 
  > 
  > name="username" 
  > password="password" 
  > method="get" 
  > url="" 
  > resolveurl="yes">
  > 
  > 
  > 
  >    #cfhttp.FileContent# 
  > 
  > But I get the following error  
  >   The column name "
  > HTML 2.0//EN>" is invalid.  
  >   Column names must be valid variable names. They must 
  > start with a letter and can only include letters, numbers, 
  > and underscores.  
  > 
  > 
  > I don't really understand how columns work. I would just like 
  > to display that page or save it to a variable.
  > 
  > How do I deal with columns with CFHTTP?

  I'm not sure what exactly you're getting back, but your first URL uses
  HTTPS, while your CFHTTP tag isn't. You must specify the entire URL within
  the CFHTTP tag (https://...)

  Dave Watts, CTO, Fig Leaf Software
  http://www.figleaf.com/
  phone: 202-797-5496
  fax: 202-797-5444
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHTTP

2004-07-28 Thread Mickael
Thank you very much.  The name instead of username was the problem.  Works great
  - Original Message - 
  From: Adam Haskell 
  To: CF-Talk 
  Sent: Wednesday, July 28, 2004 5:03 PM
  Subject: Re: CFHTTP

  I would re-look at your actual Cfhttp call Invalid column would
  indicate to me that you are trying to put the cfhttp content into a
  query.

  Notice: 
  
  name="username"

  Should be: 
  
  username="username"

  Adam H

  On Wed, 28 Jul 2004 16:49:27 -0400, Dave Watts <[EMAIL PROTECTED]> wrote:
  > > h...not sure what that column stuff is aboutbut have
  > > a look at CFHTTPPARAM...it's used for passing in the URL
  > > params "?name=searchname&number=123&search=all" properly
  > 
  > You can send URL parameters embedded directly within the URL attribute,
  > rather than using CFHTTPPARAM.
  > 
  > Dave Watts, CTO, Fig Leaf Software
  > http://www.figleaf.com/
  > phone: 202-797-5496
  > fax: 202-797-5444
  > 
  >
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfhttp

2004-08-19 Thread Tony Weeg
nevermind i forgot about cfhttp.filecontent variable :)

good day.

tw

On Thu, 19 Aug 2004 18:57:33 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote:
> if i just want to cfhttp a page, and get the html, and have that html
> to do what i want with it...what am i doing wrong here...
> 
> 
> name="testValue">
> 
> 
> 
> thanks.
> 
> --
> tony
> 
> Tony Weeg
> human.
> email: tonyweeg [at] gmail [dot] com
> blog: http://www.revolutionwebdesign.com/blog/
> 
> Check out http://www.antiwrap.com to send websites to your friends.
> 

-- 
tony

Tony Weeg
human.
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/

Check out http://www.antiwrap.com to send websites to your friends.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: cfhttp

2004-08-19 Thread Tony Weeg
aight, one more follow up question

if i get connection failure whats up with that? 
i can hit the site from my devbox...?

tw

On Thu, 19 Aug 2004 18:58:28 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote:
> nevermind i forgot about cfhttp.filecontent variable :)
> 
> good day.
> 
> tw
> 
> 
> 
> On Thu, 19 Aug 2004 18:57:33 -0400, Tony Weeg <[EMAIL PROTECTED]> wrote:
> > if i just want to cfhttp a page, and get the html, and have that html
> > to do what i want with it...what am i doing wrong here...
> >
> > 
> > name="testValue">
> >
> > 
> >
> > thanks.
> >
> > --
> > tony
> >
> > Tony Weeg
> > human.
> > email: tonyweeg [at] gmail [dot] com
> > blog: http://www.revolutionwebdesign.com/blog/
> >
> > Check out http://www.antiwrap.com to send websites to your friends.
> >
> 
> --
> tony
> 
> Tony Weeg
> human.
> email: tonyweeg [at] gmail [dot] com
> blog: http://www.revolutionwebdesign.com/blog/
> 
> Check out http://www.antiwrap.com to send websites to your friends.
> 

-- 
tony

Tony Weeg
human.
email: tonyweeg [at] gmail [dot] com
blog: http://www.revolutionwebdesign.com/blog/

Check out http://www.antiwrap.com to send websites to your friends.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHTTP

2004-09-14 Thread Andrew Dixon
That is never going to work as _javascript_ is client-side and CF is
server-side. The CF script runs when the user requests the page. You
will have to do something like get the _javascript_ to call a script on
the server and pass the url entered as a query string on the script
call URL, or do it as a form submission.

Andrew.

- Original Message -
From: Luc Deault <[EMAIL PROTECTED]>
Date: Tue, 14 Sep 2004 08:44:44 -0400
Subject: CFHTTP
To: CF-Talk <[EMAIL PROTECTED]>

I'm trying to get data (title of page) from a url which is passed with
_javascript_. The set (gotolink) seems to work, but cfhttp doesn't seem
to connect. The gotoLink output works also. What's wrong with my code?

 
'document.write(window.opener.form.link_e.value);'>

 Link = #gotolink#

 
 #cfhttp.FileContent#
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHTTP

2004-09-14 Thread Luc Deault
Don't want to be a pest but why is my first cfoutput actually outputting the right string?
___
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: CFHTTP

2004-09-14 Thread Andrew Dixon
Because when you output it the browser see the script tags and
processes and the document.write writes the output to the browser.
This however is done client-side and not server side. All the CF
server is the 

Re: CFHTTP

2004-12-29 Thread Ubqtous
Maybe something like this:



   http://myurl/stats.cfm"; resolveurl = 1
throwOnError = "yes">


   Connection lost




On Wed, 29 Dec 2004 15:16:32 -0500, Robert Orlini <[EMAIL PROTECTED]> wrote:
> I have this code using  below. When it does not connect I want it to 
> display some text reading "Connection lost". I have throwOnError set to yes.


-- 
Ubqtous

~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:188958
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


  1   2   3   4   5   6   7   8   >