Hello! I have been struggling to get a script working on a client's account. After about 3 hours of attempts, (changing permissions multiple times, changing ownerships from all sorts of places (customers CP, Server's CP, ssh, etc.) and sadly, not getting it to work. The error was the usual fopen/premature end of script headers thing. However... I uploaded the script to the httpdocs dir, chmodded it to 755... and voila! Everything is working now. (Didnt need to do anything else) Im posting to help solve future problems, and to see if a more... 'professional' solution is out there... im sure I will get a lot of support calls because of this from my customers unless a permanent fix is set up.