If you use the require directive to load a file, your script will die if the file is not found or the user that is running the web server does not have read access to it. In some cases, this is ok - but if you want a site to still function for visitors without displaying a white page, use the 'include' directive instead.
When using 'include', the site will still load - minus any materials that is in that file.
Brian S.
--was--
If you use the require directive to load a file, your script will die if the file is not found or the user that is running the web server does not have read access to it. In some cases, this is ok - but if you want a site to still function for visitors without displaying a white page, use the 'include' directive instead.
When using 'include', the site will still load - minus any materials that is in that file.
Brian S.
BsnTech Networks
http://www.bsntech.com
http://php.net/manual/en/function.require.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.