Sniffy Posted December 22, 2006 Share Posted December 22, 2006 I'm not sure if I should have put this in the PHP forum or not, but how do I process code but not execute it on my document?e.g <?php$fN = "sFile.txt";$fH = fopen($fN, 'a');$fC = "if(my == 0){ //exec }";fwrite($fH, $fC);fclose($fH);?> Link to comment Share on other sites More sharing options...
justsomeguy Posted January 2, 2007 Share Posted January 2, 2007 how do I process code but not execute it on my document?What do you mean by that? You want to write PHP code to a file? That's what your example shows. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now