Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Funke #1
display content from another server
We have a site (i.e. [url]www.mysite.com[/url]) running CF MX 6.1. We have another (Linux)
server that is running a cgi (perl) blog application at another IP/URL. Is
there a way for me to serve up the blog pages from the remote server to appear
as if it's served up from my CFMX server (i.e. show the remote cgi in the
browser address bar as [url]www.mysite.com/blogs[/url]). We don't want to bog down our
server with the cgi/perl/mysql of the blog site but we want it to look like we
are still on the same site. I posted a similar question to a non-CF forum and
they suggested using fopen in php - so I'm wondering if there is a similar
function in CF or some other way to do this?
Thanks in advance for your time!
Funke Guest
-
How to Display Repeat List In Spry Tab Content
Hello, I am new to Spry. I thought I could just create an XML dataset, Insert a Spry Tabbed Panel, and then insert a Spry repeat list inside the... -
Flash Player won't display content in IE
The Flash 9 player on a system in our organization will not display content. Instead the flash window disappears and is replaced with a double quote... -
Flash player 9 will only display content when clicked on
Seeing this issue on PC's with non-Administrator rights and only with Flash Player 9. Content won't launch or be displayed until the user clicks on... -
4.1.21 display japanese content phpmyadmin
I am using phpMyAdmin to see japanese text in side of the table. However, I can only see menu items in japanese but the content is somehow... -
Getting HTML content from one Server and Saving it on another Server
Hi everyone, I'm incharge of updating the stats on a chl hockey teams Web Site. I would like to know if there is a way to be able to save the... -
-
Funke #3
Re: display content from another server
Thanks. I was wondering if/how I could do this with CFHTTP. I have been unable to find adequate resources, documentation, and examples of usage for CFHTTP. Any suggestions?
Funke Guest
-
Mr Black #4
Re: display content from another server
Perhaps, Cold Fusion documentation is a good point to start.
Mr Black Guest
-
downtroden #5
Re: display content from another server
[url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p58.htm[/url]
is THE best place/page to find information about that. I will tell you
that yes you can call in pages via cfhttp... but as far as navigating
around in the blog... i believe the links will take you to your linux
server the first time they click a link that came from the blog.
Funke wrote:> Thanks. I was wondering if/how I could do this with CFHTTP. I have been unable to find adequate resources, documentation, and examples of usage for CFHTTP. Any suggestions?downtroden Guest
-
A3gis #6
Re: display content from another server
here is an example... this site.. [url]http://www.healthwork.com.au/[/url] has a links
page accessed from the News & Events menu when you enter the site. The links
page actually loads it's content from another site [url]http://www.ntmedic.com.au[/url]
the code used to include the links from the other site is as follows:
<cfhttp url="www.ntmedic.com.au/links/links.htm" method="get" resolveURL="yes">
<cfset remover = '<img
src="http://www.ntmedic.com.au:80/links/../images/links.gif" border="0">'>
<cfset content = replace(cfhttp.filecontent, remover, "")>
<cfset length = len(content)>
<cfset from = find("[", content)>
<cfset amount = length - from>
<cfset finalOutput = removechars(content, from, amount)>
<cfoutput>#finalOutput#</cfoutput>
please note, had to remove the links banner as it showed on the ntmedic site
as it didnt quite fit in on the healthwork one.
Cheers,
Aegis
A3gis Guest



Reply With Quote

