Forum Moderators: coopster
Maybe it differs by what is trying to be accomplished with different scripts but in my case I'm guessing that fopen is used when accessing files on your site in local folders and directories (./folder/template.txt), whereas fsockopen would be used when accessing files outside of your site (http://www.notmysite.com/folder/template.txt).
Is this on target?