I want to propose the following patch to Zend to fix a minor
inconsistency. The sort() functions reindex arrays of length > 1, but
not of length == 1.
See http://bugs.php.net/bug.php?id=12572 for an example.
The patch is:
Index: zend_hash.c
==
Hello again list...
While scanning through some of the bugs tonight, I came across a real jem.
A large number of bugs are submitted dealing with the fact that PHP on AIX
machines does not install. There is some minor hackery done to enable
this, and it's actually documented only through the bug
Ok, thinking a bit more about this.. session_readonly() really should be
implemented. Imagine a system where you have dynamically generated
images/flash/pdf or even just a straight framed site. You use sessions to
pass information around between not only pages, but also to the
dynamically gener
Well it's starting to sound like it might be necessary to do this. While
nohn's compiler is working, it seems that at least one other Tru64 person
is having difficulty.
Looking at the influx of bugs as well, I'm wondering if Tru64 is going to
be more of a problem for the project as whole... or i
On Fri, 16 Aug 2002, Tim Converse wrote:
> --- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote:
> If you don't believe me, take your algorithm and run it
> many times, tracking how often element i in the input moves
> to become element j in the output, and print the resulting
> counts out as an n-by-n tab
--- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote:
> Tim Converse wrote:
> > --- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote:
> >
> >>Dan Kalowsky wrote:
> >>
> >>>Anyone able to confirm or deny the validity of this
> >>
> >>patch?
> >>
> >>>
> >>>-- Forwarded message --
> >>>
> >>>[2002-07-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Ken,
This code chunk should do the trick.
- -- php code --
$data ="insert=data&location=here"; /* This would be the data that needs to be posted
to the site - urlencode it */
/* Headers for http transactionreplace /folder/pages.ext */
$h
Tim Converse wrote:
> --- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote:
>
>>Dan Kalowsky wrote:
>>
>>>Anyone able to confirm or deny the validity of this
>>
>>patch?
>>
>>>
>>>-- Forwarded message --
>>>
>>>[2002-07-18 01:03:51] [EMAIL PROTECTED]
>>>
>>>The shuffle() function in the CVS
Just wondering - why are we even using atime? I think lots of filesystems
don't support it, but regardless of that - as far as I recall from reading
the session code, if a session is opened for reading - it is also going to
be rewritten at the end of the session. So, it should be quite safe t
> Edin Kadribasic wrote:
> >
> > > I absolutely agree with Stefan here. It is *not* PHP's job to
> > secure
> > > a connection. SSL does this.
> >
> > Like that's going to stop users from pasting url with SID in it to
> > an email, which is what this thread is about.
> >
> > Edin
>
> The issue is
Thanks so much for your help Brad and Sander. I've downloaded the
newest Zend2 from cvs and compiled it into Php-4.3.0-dev. All of the
features of data hiding which I would need for this project look nicely
implemented in this engine!
But now I'm running a bit of a dilemna. I'm saving seria
I am trying to write a script that will read a page from another website. So long at
the page is accessed via a "GET", this is no problem; I just need to open the page
using fopen, readfile or file_get_contents. The problem is that I need to access a
page that requires a "POST". Any suggestions
First of all the internal replacement of snprintf fails if size is 1 or 0.
Second it is not C99 complient and third we do not include it the
right way. We would need to check if snprintf is available and if it is
C99 complient and if not use the replacement.
I had a lengthy discussion with the ph
Yes, that is correct, bug #1298 (it's existed for a LONG time).
The user is having some difficulty compiling the Zend libraries for 4.2.2.
Mainly it seems that snprintf is turning up as an unresolved symbol.
I asked him to grep through the /usr/include looking for it, and the
result was nothing.
So, should we go ahead and change it to 'long' then? The existing code
would be affected of course..
On Thu, 04 Jul 2002, Yasuo Ohgaki wrote:
> It sounds like changing API (int -> long) is better to me.
> _zvalue_value.lval's type is long also.
>
> --
> Yasuo Ohgaki
>
> Sascha Schumann wrote:
>
Sorry for the cross-post, but I don't know which side is
causing this bug, Apache or PHP.
OS: Solaris 8
Apache: 1.3.26
PHP: 4.2.2 (DSO)
By default, PHP sets "max_post_size" to 8Mb. If the post
data exceeds that, it seems PHP discards all of it (no post
data gets to the script). In my situation "
sure, you can try with brad's script, removing his includes. this gives the
following files, all in the same directory:
Foo.php
MyFoo.php
index.php
when you call index.php, it crashes with the following error:
Fatal error: Class myfoo: Cannot inherit from undefined class foo
in c:\webroo
hi,
this patch adds the extremely useful debug_backtrace()
function to ZE1. as it's more-or-less the same
implementation as in ZE2 so it should be "fast and efficient"
enough for inclusion in 4.3 IMHO.
it has one extra feature over the ZE2 implementation by
giving s
At 06:24 PM 8/7/2002 +0200, phpsurf wrote:
>Hi
>
>I'm testing this great feature ...
>but unfortunately, it lokos like it doesn't work for extended classes either
>!
>
>in brad's example (in the history of this mail)
>you cannot remove the include_once statements in the children classes (I
>would
At 18:26 16/08/2002, Dan Hardiker wrote:
> >>2. When is it expected to be available in a development (experimental)
> >> or production release?
> >
> > It already is - go to www.php.net, and search for 'alpha'.
> >
> http://www.php.net/do_download.php?download_file=php-4.3.0-dev-zend2-alpha2.tar.
>>2. When is it expected to be available in a development (experimental)
>> or production release?
>
> It already is - go to www.php.net, and search for 'alpha'.
> http://www.php.net/do_download.php?download_file=php-4.3.0-dev-zend2-alpha2.tar.gz
Forgive me for my ignorance... but does that mean
I went back and read the lists about why people don't like __to_string() or
__string_value() method.
the arguments were the differences in when
convert_to_string vs zend_make_printable_zval were called differently.
I believe andi isn't against it but wants it implemented good and zeev was all
fo
At 17:43 16/08/2002, Brad LaFountain wrote:
>--- Zeev Suraski <[EMAIL PROTECTED]> wrote:
> > At 14:21 16/08/2002, Dan Hardiker wrote:
> > >Hi,
> > >
> > >As php user's requests are getting closer and closer to what ZE2 is
> > >offering (eg: back tracing, private/protected classes, extra inheritan
Folks, I started a table here:
http://httpd.apache.org/docs-2.0/developer/thread_safety.html
To try to get started down the bumpy road of figuring out which PHP
extensions are likely to be thread unsafe based on their usage of thread
unsafe libraries.
Please help out by either adding more libra
--- Zeev Suraski <[EMAIL PROTECTED]> wrote:
> At 14:21 16/08/2002, Dan Hardiker wrote:
> >Hi,
> >
> >As php user's requests are getting closer and closer to what ZE2 is
> >offering (eg: back tracing, private/protected classes, extra inheritance
> >functionality, etc) ...
> >
> >1. When is ZE2 exp
At 14:21 16/08/2002, Dan Hardiker wrote:
>Hi,
>
>As php user's requests are getting closer and closer to what ZE2 is
>offering (eg: back tracing, private/protected classes, extra inheritance
>functionality, etc) ...
>
>1. When is ZE2 expected to be released (if its not already)
My guess is early
stratification = stringification
(damn spellchecker)
On Fri, 2002-08-16 at 09:30, Jason T. Greene wrote:
> Perl has this (it's called "stratification"), and it is quite useful.
> One example is that you have an error object that contains various
> properties (line location, error class, error lev
Perl has this (it's called "stratification"), and it is quite useful.
One example is that you have an error object that contains various
properties (line location, error class, error level, error code, etc).
And on evaluating the object as a string, it dumps it as an easy to read
error message.
-
At 15:52 16.08.2002, Brad LaFountain wrote:
>I want to throw together a quick hack so that objects can implement a
>__as_string() method that will get called when the string is used in a string
>contex. Instead of append "Object".
>
>$s = (string)$object;
> or
>$s .= $object;
>
>also the same
I want to throw together a quick hack so that objects can implement a
__as_string() method that will get called when the string is used in a string
contex. Instead of append "Object".
$s = (string)$object;
or
$s .= $object;
also the same things with arrays that will do something similar to
All of the warning messages you list, with the exception of the last, is
specific to the readmsg() sendmsg() code which uses msghdr's (A messgae
header has all void * members). They should not cause any problems, but
I will clean them up.
The last message is referring to a buffer that is used in
We also have public as an alias for variable.
marcus
At 15:09 16.08.2002, Brad LaFountain wrote:
>That .txt only talks about private members. Zend2 also implements protected
>data members.
>
> - brad
>--- Sander Roobol <[EMAIL PROTECTED]> wrote:
> > The Zend Engine 2 implements this. See http:/
That .txt only talks about private members. Zend2 also implements protected
data members.
- brad
--- Sander Roobol <[EMAIL PROTECTED]> wrote:
> The Zend Engine 2 implements this. See http://www.php.net/ZEND_CHANGES.txt
>
> Sander
>
> On Fri, Aug 16, 2002 at 03:13:57AM -0500, Ben Dischinger wro
Hi,
As php user's requests are getting closer and closer to what ZE2 is
offering (eg: back tracing, private/protected classes, extra inheritance
functionality, etc) ...
1. When is ZE2 expected to be released (if its not already)
2. When is it expected to be available in a development (experiment
Edin Kadribasic wrote:
>
> > I absolutely agree with Stefan here. It is *not* PHP's job to
> secure
> > a connection. SSL does this.
>
> Like that's going to stop users from pasting url with SID in it to
> an email, which is what this thread is about.
>
> Edin
The issue is also that anyone can
Hi
I fixed almost all reported bugs for domxml and made some more W3C
compliant, therefore some stuff changed the behaviour (slightly). It
shouldn't break BC for most of the scripts, but i can't make happy both
camps (BC and W3C compliance), and i prefer W3C compliance.
I would be very glad, if
The Zend Engine 2 implements this. See http://www.php.net/ZEND_CHANGES.txt
Sander
On Fri, Aug 16, 2002 at 03:13:57AM -0500, Ben Dischinger wrote:
> Hello,
>
> My question is if there is anyone working on an implementation of data hiding in
>php? IE Public, private, and protected data types wit
Hello,
My question is if there is anyone working on an implementation of data hiding in php?
IE Public, private, and protected data types within php classes. I can not find
anywhere mentioning this besides very few websites that say it is on the "TODO" list.
The research that I'm doing involv
--- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote:
> Dan Kalowsky wrote:
> > Anyone able to confirm or deny the validity of this
> patch?
> >
> >
> > -- Forwarded message --
> >
> > [2002-07-18 01:03:51] [EMAIL PROTECTED]
> >
> > The shuffle() function in the CVS is (still) broken. It
Hi,
I asked about this a few weeks ago with apache on windows.
The best answer I got was from George Schlossnagle:
I believe this is because when apache does it's intial configtest run
as
part of start (to validate it's config), it has to do a complete startup
(otherwise it wouldn't know about
The tool you're looking for is 'curl'. Look it up in PHP's docs.
Michael said:
> Is it possible to write a script that:
> 1) gathers information
> 2) upon clicking a "submit" button, "posts" this information to a remote
> server for processing. 3) the remote server, by default, will generate
> re
41 matches
Mail list logo