I tried the reply on Zend.
It works great on my test server, and i added it into my existing script. I tested it with the new configuration, but it doesnt connect to an IP address, only domain.
There is a function to strip bits off of a domain to get it to 'www.phpbuilder.com' for example (i.e. [url]http://[/url] and path chopped off) before it gets put into the fsockopen() function.
Domains work, including 'http://localhost'
I also tried submitting to my test server via IP;
Warning: fsockopen(): unable to connect to 80.13.63.4:80
I tried adding 'http://' to the beginning of the IP (bypassing the chopping function) but it didnt work.
When i put the IP in internet explorer with the port on the end (presumed :80) without the [url]http://,[/url] the page does not load. It i take off the :80, IE adds 'http' and it loads fine. If i have 'http' and ':80' then IE cuts off the port and the page loads fine.
Both 'IP' sites are running windows (my test server XP, the 'real' server Win2k) if that would make a difference?
Does anyone know a way round this problem??
Thanks!