php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #36904 Default Context for Stream
Submitted: 2006-03-29 07:09 UTC Modified: 2006-04-03 18:08 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: tiago at mdtestudio dot com dot br Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tiago at mdtestudio dot com dot br
New email:
PHP Version: OS:

 

 [2006-03-29 07:09 UTC] 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.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-03 17:34 UTC] vrana@php.net
This topic is beyond PHP documentation focus.
 [2006-04-03 18:08 UTC] tiago at mdtestudio dot com dot br
Hi, ok, maybe not a documentation problem, but there is a method to do this ? 
    I'm sorry by insistence, but I think that it's a big step on the PHP evolution stairs.
    Thanks
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Nov 20 15:00:01 2025 UTC