note 94586 added to function.include
| From: | ChrisBell at osu1 dot php dot net | Date: | Fri, 13 Nov 2009 01:12:20 +0000 |
| Subject: | note 94586 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-162846@lists.php.net to get a copy of this message | ||
A word of warning about lazy HTTP includes - they can break your server.
If you are including a file from your own site, do not use a URL however easy or tempting that may
be. If all of your PHP processes are tied up with the pages making the request, there are no
processes available to serve the include. The original requests will sit there tying up all your
resources and eventually time out.
Use file references wherever possible. This caused us a considerable amount of grief (Zend/IIS)
before I tracked the problem down.
----
Server IP: 69.147.83.197
Probable Submitter: 203.10.106.210
----
Manual Page -- http://www.php.net/manual/en/function.include.php
Edit -- https://master.php.net/note/edit/94586
Del: integrated -- https://master.php.net/note/delete/94586/integrated
Del: useless -- https://master.php.net/note/delete/94586/useless
Del: bad code -- https://master.php.net/note/delete/94586/bad+code
Del: spam -- https://master.php.net/note/delete/94586/spam
Del: non-english -- https://master.php.net/note/delete/94586/non-english
Del: in docs -- https://master.php.net/note/delete/94586/in+docs
Del: other reasons-- https://master.php.net/note/delete/94586
Reject -- https://master.php.net/note/reject/94586
Search -- https://master.php.net/manage/user-notes.php