While including a php file (eg: include’filename.php’;), is it necessary that the source file (filename.php) has starting and ending php tags in it?
While including a php file (eg: include’filename.php’;), is it necessary that the source file
Share
php tags are not required.
But if you don’t use them, you’ll have security and confidentiality issues. Someone can get the sourcecode of the file (config stuff, database access, passwords, …)!!