Re: you're showing your .inc files
| From: | Gabor Hojtsy | Date: | Sun, 26 May 2002 08:29:48 +0000 |
| Subject: | Re: you're showing your .inc files | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-10476@lists.php.net to get a copy of this message | ||
> While browsing your site, I went to www.php.net/manual/en/ and for some
> reason i got the following error:
>
> Fatal error: Failed opening required 'countries.inc'
> (include_path='.:/local/Web/sites/phpweb/include') in
> /local/Web/sites/phpweb/include/site.inc on line 13
>
> and I thought that it was pretty odd for that to occur. but then i pointed
> my browser to www.phpnet/include/site.inc and was even more shocked. You
> have your apache configuration set so that it displays .inc files in
> plaintext. If you meant to, then boy is my face red.
Please also see this page:
http://www.php.net/source.php?url=/include/site.inc
This is even color coded to make your read a bit more
convinient ;)) There are more links to inc files on the
side of this page, and we have a "show source" link on
all pages, with which you can see the PHP source.
You can also browse the site contents here:
http://cvs.php.net/cvs.php/phpweb/
PHP is open source development, and so is the website ;))
Goba [one webmaster@php.net]