Predefined variables can be used to replace specific parts of the paths of files or images. Predefined variable in a path for an include file It’s important to understand that the path for an include file is relative to the web server and not the web root where the home page is stored. The predefined […]
Archive for the ‘PHP’ Category
PHP: Using predefined variables in paths
January 13, 2010PHP: Include file
January 11, 2010The include function is useful for streamlining code across your site. Rather than the full code of you header section, for example, you can replace it the one line of code required for the include function. This is also advantageous for future modifications. This does not affect SEO (Search Engine Optimization) since search engines only […]