Odd CURL problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
supercabbage
Forum Newbie
Posts: 3
Joined: Sun Aug 06, 2006 5:46 am

Odd CURL problem

Post by supercabbage »

I'm trying to send a CURL request from one script to another. They're on different domains and hosting accounts, but both hosting accounts are under the same host. The problem is that the CURL request seems to time out when curl_exec is called. If I use the same code locally and access the other half of the script online then it works fine. The problem only appears when both parts of the script are on the two different hosting accounts. If they're on the same host it works and if I try to CURL a page I definitely know works (www.google.co.uk for instance) then it returns fine so I think it might be a server issue.

Could someone please advise? Thanks in advance.
Post Reply