you're server is running in safe mode
There are a couple of options and here's one of them.
Rename avatar.php to avatar.cgi
Open up avatar.cgi and add this to the very top of the file:
You may have to ask your ISP for the path to the cgi of php.
Your files should be looking something like this:
Code:
#!/usr/bin/php
<?
$code= "More Code";
Now find all references to avatar.cgi and change them to avatar.cgi
Now upload it and CHMOD to 755
That should work, if not get back to me,
Nick