note 2042 deleted from function.require by rasmus
| From: | rasmus@php.net | Date: | Mon, 12 Aug 2002 14:23:52 +0000 |
| Subject: | note 2042 deleted from function.require by rasmus | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34869@lists.php.net to get a copy of this message | ||
When using require, I suggest making the filename .php3 or something which executes code and NOT
.inc.
The reason why I say this is because .inc may not be registered on your server as any file-type so
the browser will display the text in the window. I experienced the ability to see my mysql database
usernames and passwords when the filename was .inc. When I changed it to .php3, the code was
executed and the informaiton wasn't compromised.