Hi Matthew,
A shot in the dark perhaps...
Make sure that server2.whatever.com is defined in the 'hosts' file of the computer that is including the CF content (or whatever the *nix equivalent od the 'hosts' file is). I suspect that the delay is likely to be the DNS lookup.
Regards,
Brett B)
Matthew Kernick wrote:
Hi All,
Just wondering if anyone has had any experience with combining PHP and Coldfusion.
Here is the scenario...
We have a client who runs a website which is running on PHP. They have another server which is running coldfusion (as they don't want to run php and coldfusion on the same machine). There is a news component which we have built in CF and they are including these "components" into the website using PHP includes. eg <?php include("http://server2.whatever.com/news.cfm"); ?>
It works but 9 times out of 10 it is extremely slow (like 25 - 40 seconds to load) (even locally). When we comment out the includes the page loads instantaneously. If we run the coldfusion pages it also loads instantaneously. I am assuming that the transfer of data from CF -> PHP and then display is what is causing the delay. Just wondering if anyone has had any experience with this?
Thanks all....
Matthew Kernick eNTITy1 Pty Ltd - "The e-Business Specialists" Switch PH: (08) 89411162 email: [EMAIL PROTECTED] website: http://www.entity1.com
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
-- Brett Payne-Rhodes Eaglehawk Computing t: +61 (0)8 9371-0471 f: +61 (0)8 9371-0470 m: +61 (0)414 371 047 e: [EMAIL PROTECTED] w: www.ehc.net.au
--- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
