im trying to echo out the contents of an apache <directory> directives file and its stripping out all the carrets, gators, brackets, slashes etc... how can i dump the contents of the entire file intact?
ty
$text = file_get_contents("file.txt"); echo "<pre>"; echo htmlentities($text); echo "</pre>\n";
i was also able to fix this by outputting into a textarea element