I have a piece of code that uses cURL that used to work perfectly before. The uRL works well in any browser and returns the values I require. However cURL is giving an error 'couldn't connect to host'
The only changes that have occurred since then is that imap has been installed and a few directories have had their permissions changed. The weird thing is that the URL works in any browser. can you help please?