buff needs to be null terminated, you can use RETURN_STRINGL(buff,
content_size, 1); if you know the length.
Scott
On 6 Sep 2008, at 23:19, Mangol Smith wrote:
Hello all,
I got a strange problem. I opened a network stream with my web server
(localhost:80) and wrote a HTTP GET into stream and
Hello all,
I got a strange problem. I opened a network stream with my web server
(localhost:80) and wrote a HTTP GET into stream and reading the HTTP
RESPONSE.
buff = (char *)emalloc(content_size);
php_stream_read(http_stream, buff, content_size);
where content_size is the Content-Length value
On Sat, Sep 6, 2008 at 5:20 AM, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote:
> On Sat, Sep 6, 2008 at 12:02 PM, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote:
>> On Sat, Sep 6, 2008 at 11:12 AM, Rodrigo Campos <[EMAIL PROTECTED]> wrote:
>>> On Sat, Sep 6, 2008 at 3:05 AM, Alexey Zakhlestin <[EMAIL PR
On 06.09.2008 16:42, sotiris karavarsamis wrote:
i've got a webserver which runs php 5.2.3 via fastcgi,
The latest stable version is 5.2.6, not 5.2.3.
I can't find any mention of X-Powered in 5.2.6 CGI sources,
but both cases in main/main.c do check expose_php INI setting.
--
Wbr,
Antony D
i've got a webserver which runs php 5.2.3 via fastcgi, and i've recently
tried to remove the x-powered-by header for security reasons. however,
changing the php.ini expose-php directive value to off made no
difference. After searching a little on google for this problem, it came
out that there
On Sat, Sep 6, 2008 at 2:15 AM, Scott MacVicar <[EMAIL PROTECTED]> wrote:
> Stanislav Malyshev wrote:
>> No, the main argument is that it would break people's configs, and for
>> no good reason at all (nobody really needs \n's in their paths).
>
> This code is used in parse_ini_file() where it is p
On Sat, Sep 6, 2008 at 12:02 PM, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote:
> On Sat, Sep 6, 2008 at 11:12 AM, Rodrigo Campos <[EMAIL PROTECTED]> wrote:
>> On Sat, Sep 6, 2008 at 3:05 AM, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote:
>>> Can you put final version of patch somewhere where we can do
On Sat, Sep 6, 2008 at 11:12 AM, Rodrigo Campos <[EMAIL PROTECTED]> wrote:
> On Sat, Sep 6, 2008 at 3:05 AM, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote:
>> Can you put final version of patch somewhere where we can download it?
>> http://phpfi.com/ will be just fine
>
> Yes, here it is: http://phpf
On Sat, Sep 6, 2008 at 3:05 AM, Alexey Zakhlestin <[EMAIL PROTECTED]> wrote:
> On Sat, Sep 6, 2008 at 1:19 AM, Rodrigo Campos <[EMAIL PROTECTED]> wrote:
>> Hi!
>>
>> I am writing to the list because there's a bug in the php snmp
>> extension that leaks memory. This bug has been reported by Federico