Lets say I want to use a php script to read the current page\'s code into a string how would I do that without executing the php contents of the page?
For example using<
Actually there is one way to execute PHP file and get the content into a variable.
You can use the ob_start() and ob_get_clean() functions.
ob_start(); include "teste.php"; $String = ob_get_clean();