#36904 [Opn->Bgs]: Default Context for Stream
| From: | vrana@php.net | Date: | Mon, 03 Apr 2006 15:34:14 +0000 |
| Subject: | #36904 [Opn->Bgs]: Default Context for Stream | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969372572@lists.php.net to get a copy of this message | ||
ID: 36904
Updated by: vrana@php.net
Reported By: tiago at mdtestudio dot com dot br
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Any
PHP Version: Irrelevant
New Comment:
This topic is beyond PHP documentation focus.
Previous Comments:
------------------------------------------------------------------------
[2006-03-29 07:09:23] tiago at mdtestudio dot com dot br
Description:
------------
Hi, I`m coming from this page:
http://br.php.net/manual/add-note.php?sect=function.stream-context-get-default&redirect=http://br.php.net/manual/en/function.stream-context-get-default.php
where I got: "lick here to request a feature, so, here I am !
I think that you could explain on documentation of
stream_context_create or Apendix M how to put a 'default' context at a
CONFIG level.
For example, an ISP creates a fake IP, for example : eth0:1 ->
192.168.0.155 and sets bindto for it ip.
Making this at config level, it could disable stream_context_create
function (for users don't change) and control the TARGET hosts for
FSOCKOPEN, FGETS, ETC via iptables ...
Sorry, I`m new to "reporting" things to you. But I think that it
can help a lot of people, so, I`m writing Here.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36904&edit=1