I am getting an error - open_basedir restriction in effect
This is a security issue. In responce to hacking attempts we have restricted the ability to use php to open folders outside the user directory. What it means is that one domain cannot open another domain's files. For instance - to deface every site on the server.

To fix it you will need to compile your script to not try and open files outside of your own /home/user area.