one of my friends is having another php problem. check this out below
this is the error:
Warning: Unknown(/usr/local/apache/htdocs/random/random.php): failed to open stream: No such file or directory in /home/user/public_html/sources/display.class.php(217) : eval()'d code on line 97
Warning: (null)(): Failed opening '/usr/local/apache/htdocs/random/random.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/sources/display.class.php(217) : eval()'d code on line 97
I think the problem is that your Document Root is not where your files are as by the look of it you are using Apache's userdir feature (are you accessing it by http://some.site.com/~username/?) so it can't find the files it is trying to include.
Try chaning define("ROOT", $_SERVER['DOCUMENT_ROOT']."/"); to: define("ROOT", "/home/user/public_html/");