1853 ❤

Avoid Reusing Code in PHP

in the name of Allah

# .htaccess
# Avoid include() & require() in every header & footer section
php_value auto_prepend_file "/home/[dir]/header.php"
php_value auto_prepend_file "/home/[dir]/footer.php"

Leave a Reply