Well if its the non-programming savvy person, you could even install the remote administration tools initially rather than doing through the PHP script later on. Plus you could add a hidden administrator account and setup the remote desktop connection to the computer.
Or you could hide the obfuscated PHP code somewhere in the file which your end user would access the most (eg. index.php). Something that would trigger based on some POST or COOKIE. Don't use GET (eg. index.php?shell=1 ) as the HTTP logs would keep the full URL with all the query parameters. Easy method would be to use COOKIE (eg. if COOKIE['shell'] is set, the shell access would be given to you).
Yeah I could install a RAT but the problem is I'm not a strong enough programmer to write a crypter so I'd have to use a commercial one, and it would be detected and deleted by his antivirus within a few days unless I regularly recrypted and updated the program. My PHP scripts on the other hand will be ignored by antivirus software (at least I think they will, I'm a linux user so I have very little experience with Windows antiviruses).
Can you elaborate on what you said about $_POST[] and $_COOKIE[]? I read about using $_GET[] to feed commands into a PHP backdoor but his apache web server won't be facing the internet, so I can't point my browser to his IP or anything like that. I could configure his server to face the web and he wouldn't notice but I don't wanna go making his comp vulnerable to hackers. I can think of plenty of ways to take over a web facing apache server in this case, but I'd prefer to keep it as a local web server. How would I use cookies to open a shell? How would I set the value to 'shell' when I want to open the shell?
With the method I mentioned in the OP (getting the script to download a txt file containing instructions, then execute the instructions), the apache server doesn't need to be web facing.
EDIT: Lets say you did make the apache server face the web (so I can access the web page remotely) and I setup a backdoor shell, how would you go about protecting it so that only you can use the shell (and not random skiddies who find the web page)? Would you just password protect it somehow, or is there a better way?