Zen Follower
- Join Date:
- Feb 2006
- Posts:
- 125
- Plugin Contributions:
- 0
PHP on EZ-Pages Safe or NOT?
I want to use PHP code on some EZ-Pages. I found the code below on the forum that will enable PHP to be written to the database for the EZ-Pages:
<!-- PHP ENABLE CODE --> <div><?php eval(stripslashes('?>' . $var_pageDetails->fields['pages_html_text'])); ?></div> <!-- PHP ENABLE CODE END -->Does anyone know if this method is safe to use or is it a potential security hole?
Are there other methods that are better for this?
Picci