If it possible to use fopen() to open another php file and execute the code inside the opened file?
I dont know what you are trying to do, but you could just use a require() in your script and whatever is in there would be executed. Hope that Helps!
(I dont think that fopen would do it unless there is some strange trick)