Alright... wellll... that script doesn't work on ONLY when viewed over SSL...?
If that's the case, it's definitally not a PHP issue, Apache must be badly misconfigured or something. Try looking at your Apache error logs ( /var/log/httpd-error.log on my BSD machine ) and see if you get any error messages. Try restarting Apache too ( apachectl graceful )
Do scripts work when you view them over HTTP WITHOUT SSL?
It definitally has nothing to do with fsockopen() though, in either case.
For your other question, I've trained in martial arts for about 12 years now, but not in the system that the website is for, that's a website I created for a friend. The styles are similar though. Yourself?