PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I'm trying to output the contents of a php file. I have the file users.php with a whole bunch of stuff in it. I have this code to get the contents of the file, but it doesnt show anything. Any ideas?
explaining what jason said, u have to use the function: highlight_file();
example:
highlight_file('myfile.php',true); //the last value means NOT to print the contents of the file, but save it as a string