Jump to content

Disabled code in strings?


Sniffy
 Share

Recommended Posts

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

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...