PHP post to external website.


New Member
I'm posting this so that others with the same problem can fix it. I had an issue where I was trying to post data from my php script via cURL to an external website. The post data wasn't getting to its destination. Here's what I found, thanks to the wonderful help of the KnownHost support team:

-Enable the cURL extension (not enabled by default) for PHP.
-Set your firewall to allow TCP port 12046 for outgoing.

This may be common sense to some, but as a newb to servers and the inner workings (but a long time web developer), I thought it might help others in the same boat.

Special thanks to Kate, Diana and William of the support team. You guys rock!