On Sun, Feb 23, 2003 at 01:25:34PM -0800, Rasmus Lerdorf wrote:
Hey Sander, you fixed a problem back in July where you introduced a second
realpath() call into the main execute_script() function.
[...]
php_fopen_primary_script() calls expand_filepath() which does the realpath
before we get
I recently discovered two problems in ZE2 that break BC.
The following snippet works fine on ZE1, but gives Fatal error: Class
'foo' not found on ZE2. Classes apparently need to be defined before
they can be used.
$bar = new foo();
class foo {}
Although it's easy to work around this
On Tue, Feb 04, 2003 at 08:25:45PM +0100, Marcus B?rger wrote:
Am I correct in this assumption? If yes, could please try to point
out what are the advantages of -B -R -E and -F over using just -r?
Yes it is the same result. I never said you cannot do it otherwise.
The reason i implemented
On Sun, Feb 02, 2003 at 01:17:41PM -0800, Sara Golemon wrote:
Jesus suggested the same thing, I'm trying out a few different approaches
to
see what looks best, I'll post again when I have something usable.
http://frankenbox.alphaweb.net/test/export.phps
Looks good and useful. +1.
On Mon, Nov 18, 2002 at 04:33:59PM +0100, Henri Gomez wrote:
In 4.2.2 source I'm reading from, the MT RAND functions are marked as
GPL (and you know that any single piece of GPL in a code base make
it GPLized ;)
It's actually LGPL, see line 117:
This library is free software; you can
Please don't crosspost. And certianly don't crosspost to the wrong
lists. Ask support questions on [EMAIL PROTECTED]
Sander
On Thu, Nov 07, 2002 at 11:13:55AM -0500, Matt L wrote:
A possible client wants to do this:
- disable errors to browser output
- redirect the error_log to a file in my
On Sat, Nov 02, 2002 at 01:42:32PM +0100, Marcus Boerger wrote:
I would prefer using ob_end_clean() instead of ob_implicit_flush().
This way what ever settings one uses you can see the progress
of the tests.
Ok, but wouldn't it be even better to do:
while(ob_get_level()) {
On Thu, Oct 31, 2002 at 02:47:27PM -0500, Ilia A. wrote:
I would like to propose that we drop the old ereg library and use only
a single regular expression library, PCRE. For BC purposes I've written a
patch (see attached file), which emulates the old ereg_* functions for people
who still
On Mon, Oct 28, 2002 at 04:02:42PM +0100, Edin Kadribasic wrote:
We already have sapi specific ini files. If php finds
php-{$SAPI}.ini (e.g. php-cli.ini, php-apache.ini, etc) it will use
it instead of php.ini. IMHO this should cover most of the needs for
differentiated ini settings.
I agree,
On Fri, Oct 25, 2002 at 11:57:34AM +0200, Derick Rethans wrote:
to make easier maintenance and checking possible I would suggest to name
our tests more appropriate:
Class: Name: Example:
Tests for bugs bugbugid.phptbug17123.phpt
On Mon, Oct 21, 2002 at 08:45:19PM +0200, Pierre-Alain Joye wrote:
On Mon, 21 Oct 2002 14:41:02 -0400 Andrei Zmievski wrote:
I think we should use forked version of gd library by default for
4.3.0. From what I hear it is already the best version of any of them
out there and if it saves us
On Sun, Oct 13, 2002 at 06:15:23PM +0200, Boris Bukowski wrote:
i introduced the curl multi interface in php_curl.
Cool!
Is this the right Place to post and discuss my Patch ?
Yep, please post it here as an attachment.
Please note that we just started QA on PHP 4.3.0-dev so this patch might
On Fri, Oct 11, 2002 at 12:49:07AM +0300, Jani Taskinen wrote:
On Thu, 10 Oct 2002, Tit Black Petric wrote:
since gd is supposed to be bundled and packed together with php4.3 i just
wanted to know if the patch for imagettftext for the truecolor rendering
will be applied to its source, or if
On Tue, Oct 08, 2002 at 01:46:09PM -0400, Ilia A. wrote:
My suggestion is that rather then adding strncmp() for 'none' in addition to
existing checks for auto_prepend_file/auto_append_file values we simply
change the documentation to explain that to disable these options a user
should use
On Mon, Oct 07, 2002 at 04:37:49AM +0200, Melvyn Sopacua wrote:
Whether the function should make an effort and emit a warning for these
systems is open to debate.
IMO it's good that this function isn't available on Windows - it makes
no sense there anyway. I'll fix run-tests.php in a moment.
It appears to be a typo. See
http://cvs.php.net/diff.php/php4/ext/standard/quot_print.c?r1=1.10r2=1.11
The old code checked [i+1] and [i+2], while the new (rev. 1.11) code
checks [i+1] twice...
Sander
On Mon, Oct 07, 2002 at 09:35:53AM -0400, Dan Kalowsky wrote:
Begin forwarded message:
On Mon, Oct 07, 2002 at 12:11:37PM +0200, Melvyn Sopacua wrote:
At 12:00 10/7/2002 +0200, Derick Rethans wrote:
No, as for windows everything is executable... see the .scr virusses for
example :)
Yes - and that's why it is a good idea, to either not implement it, or
return true.
For
+1 on removing the branch - to avoid problems with staying in sync with head
-1 on the php5 module - it'll move the sync problems to another place
Sander
On Sun, Oct 06, 2002 at 11:01:02AM +0200, Derick Rethans wrote:
On Sun, 6 Oct 2002, Zeev Suraski wrote:
I think that given the
On Sun, Oct 06, 2002 at 12:10:17PM +0200, Martin Jansen wrote:
FYI: Yesterdays snapshot segfaults with the following line of code:
?php
$foo = implode(, array());
?
Fixed in CVS, thanks for the report.
Sander
--
PHP Development Mailing List http://www.php.net/
To
On Fri, Sep 27, 2002 at 10:25:56PM -0400, Jon Parise wrote:
I wrote a simply getopt function for PHP (based on the system's
getopt() call). This is not meant to compete with the getopt PEAR
class but rather to provide simple command line parsing capabilities
to CLI-based PHP scripts.
If
See http://master.php.net/manage/users.php (when it's up again)
Sander
On Sun, Sep 01, 2002 at 08:28:46PM +0200, CHAILLAN Nicolas wrote:
Hello, many people that try to send me a mail are stopped by the antispam
system, they should answer to the message so I can get the mail, this is
fine,
It's a good idea, but I'd rather see an unified diff with some context.
Maybe use diff when it's available, and fall back on this code when
it's not.
Sander
On Thu, Aug 22, 2002 at 02:46:57AM +0200, Marcus Boerger wrote:
The following patch produces *.diff files similar to
diff command.
Thanks, I've committed the patch to CVS.
Sander
On Mon, Aug 19, 2002 at 03:42:12PM +0200, Christophe Sollet wrote:
hi,
this patch fix bug #18654 by extending the nvexp definition.
The diff contains the resulting re2c var_unserializer.c.
[snip]
--
PHP Development Mailing List
Yeah, should have done that immediately. Committed.
On Tue, Aug 20, 2002 at 09:41:54PM +0200, Christophe Sollet wrote:
Sander Roobol wrote:
Can it be merged in the 4.2 branch too ?
It would be great to have 4.2.3 without this bug.
Christophe
Thanks, I've committed the patch to CVS
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 within
I'll start with pack 43...
Sander
On Mon, Jul 01, 2002 at 03:25:47PM +0200, [EMAIL PROTECTED] wrote:
Hello QA-ers,
it's the time of the year again, time for the PHP Bug Hunt Event! Although
this is the first time, I'm pretty sure it will be fine.
... (snip) ...
--
PHP Development
I've commited the patch to CVS. Thanks for your help.
Just a small note: strnicmp() is not available on unix, it's called
strncasecmp(). PHP uses a macro to wrap strncasecmp() to strncasecmp()
on Windows.
Sander
On Mon, Jun 17, 2002 at 02:12:17PM -0700, Michael Sisolak wrote:
Bug #16458
This is not the right place to ask support questions. Ask them on
[EMAIL PROTECTED] See http://php.net/support for a complete
list of places where you can ask support.
Anyway, read http://www.php.net/release_4_2_0.php to see what you're
doing wrong (especially, read the part about External
The change was made in revision 1.7 of zend_language_parser.y.
The tags show that the change made it into PHP 4.0.6.
See http://cvs.php.net/cvs.php/Zend/zend_language_parser.y for more.
Sander
On 2002.06.01 19:14 Philip Olson wrote:
Hello,
When did isset() allow for multiple arguments, was
Compiling PHP on Windows is not very easy.
The easiest and cheapest way to do it, is by using Cygwin, although
it's not the most common way to do it.
The official binaries are made with Microsoft Visual C++ which is quite
expensive.
IIRC, you can create Cygwin binaries from unix, but it's
Which version of PHP are you running? Versions before 4.1.0 don't have
the $_* variables. $_FILES may be an exception, it might be only
available in 4.2.0 and later, but I'm not sure about that.
Sander
On 2002.05.27 19:47 Daniel CAstro wrote:
My code is much more extense than this, but I
You're asking this on the wrong list. This list is for developing PHP,
not for developing WITH PHP. Ask questions like these on
[EMAIL PROTECTED]
Anyway, you can open remote files using fopen() and read them just like
normal files. See http://php.net/fopen for more information.
Sander
On
You're asking on the wrong place (again).
This list is for developing PHP, not for developing WITH PHP. Send
support questions to [EMAIL PROTECTED]
Sander
On 2002.04.08 19:07 Rodolfo Silva wrote:
Hi!
I need a php script to alert me (with a pop up window or something
like that) when a
GA = General Availability which means it's stable (well, they say it's
stable).
Anyway, it configures compiles fine, but I doesn't work. I haven't
had time to investigate it (I haven't even looked at httpd.conf) so I
don't know if it's a PHP problem... you'll hear from me if it's a PHP
On 2002.04.05 18:29 Andrei Zmievski wrote:
On Fri, 05 Apr 2002, Richard Heyes wrote:
Do we have a constant containing path separator for the platform
PHP is
running on? By that I mean REGISTER'ed constant available to PHP
scripts.
DIRECTORY_SEPARATOR ??
And since what version is
On 2002.04.04 13:25 [EMAIL PROTECTED] wrote:
I thought it was moved to PECL, but it seems it is copied. My bad...
It is NOT in PECL!!! :)
See http://cvs.php.net/cvs.php/pear/PECL
Sander
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
On 2002.04.04 16:59 Marcus Börger wrote:
That doesn't work because it is not a constant. So someone with MS VC
should check the
value of the variable __mb_cur_max. Then we can set it. Or does
anyone have a better idea?
FYI: the value of __mb_cur_max is 1.
Sander
--
PHP Development
Done.
On 2002.03.28 19:55 Joseph Tate wrote:
Here it is. Will someone with karma please commit it?
Thanks,
Joseph
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Development Mailing List http://www.php.net/
To unsubscribe,
On 2002.03.22 09:22 Derick Rethans wrote:
On Thu, 7 Mar 2002, Sascha Schumann wrote:
Because I cannot test/build every extension under the earth,
problems with untested extensions might crop up. If it does,
please notify me and I'll check it out.
For some reason ncurses
That would be really cool!!!
+398473 on this!
One small point: I think it would be better if the function names have
more descriptive names, like stream_open(), stream_close(), etc.
Sander
On 2002.03.17 15:37 Wez Furlong wrote:
I thought it might be nice to allow people writing class
On 2002.03.16 06:14 Jon Parise wrote:
On Sat, Mar 16, 2002 at 03:15:07AM +0100, Markus Fischer wrote:
If no one objects I'ld like to commit the following patch
which raises an extra warning message when using mail() on
unix systems and the shell required for popen() can't be
Apache crashes when running _any_ script (even phpinfo(); segfaults).
CLI works fine.
Backtrace:
#0 0x400e7476 in fflush () from /lib/libc.so.6
#1 0x402ff5b7 in php_stdiop_flush (stream=0x8169bc4)
at /home/sander/php/head/php4/main/streams.c:500
#2 0x402fee39 in php_stream_flush
on :-)
If this doesn't work, then it's probably to do with the
resource management in main/main.c fopen_wrapper_for_zend :-/
--Wez.
On 16/03/02, Sander Roobol [EMAIL PROTECTED] wrote:
Apache crashes when running _any_ script (even phpinfo();
segfaults).
CLI works fine.
Backtrace
need a cleaner solution for this anyway :-/
--Wez.
On 16/03/02, Sander Roobol [EMAIL PROTECTED] wrote:
Hello,
Unfortunately, it still fails. Configures compiles fine, but
crashes
Apache. The backtrace is still the same.
Sander
On 2002.03.16 12:25 Wez Furlong wrote:
Hi
Not a bug. From the manual:
Cookies will not become visible until the next loading of a page that
the cookie should be visible for.
See http://www.php.net/manual/en/function.setcookie.php for more.
Sander
On 2002.03.13 16:19 Andy Woolley wrote:
Hi All,
I think I might have found a bug with
Please, discuss stuff like this on the appropriate mailinglist!
PHP-DEV is for developing PHP, not for developing WITH PHP.
Most of you should know that by now :)
Sander
On 2002.03.13 18:00 Hartmut Holzgraefe wrote:
Andy Woolley wrote:
Ok, I hear what you are saying and accept that it isn't a
It might be a bit late, but PHP-DEV is for developing PHP, not for
developing WITH PHP. Use [EMAIL PROTECTED] for support
questions.
Sander
On 2002.03.12 20:37 Surya Saraff wrote:
Hi,
actually, I encountered serialize(), urlencode()
AND IT WORKS!!!
first you serialize(), then urlencode
It doesn't compile anymore with readline:
make: *** No rule to make target
`home/sander/php/head/php4/ext/readline/readline.c',
needed by `home/sander/php/head/php4/ext/readline/readline.lo'. Stop.
Sander
On 2002.03.07 15:28 Sascha Schumann wrote:
Hi,
you won't see the commit,
On 2002.03.07 18:48 Hunter, Ray wrote:
Does anyone off hand know if dbx is supported in php version 4.0.6?
Yes it is!
Sander
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Is this really critical?
On 2002.03.06 18:55 [EMAIL PROTECTED] wrote:
ID: 15907
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Critical
Bug Type: Dynamic loading
Operating System: *
-PHP
You're asking on the wrong list; use [EMAIL PROTECTED] for
questions like these...
PHP-DEV is for the development OF PHP, not for developing WITH PHP.
Sander
On 2002.03.04 14:43 Eduardo Melo wrote:
(I like the html-support in this client :)
--
PHP Development Mailing List http://www.php.net/
Hello,
Attached is a patch that fixes many problems with test-scripts.
I've changed many paths, because all relative paths are only working if
they're relative to the PHP-source dir and not relative to the
test-script. I guess this is expected behaviour?
Anyway, I would appreciate it if anyone
On 2002.02.25 15:07 brad lafountain wrote:
Where would i find out how to create
the necessary xml docs so my extension
docs would flow into php's website?
Actually, you're asking this on the wrong mailinglist... use PHP-DOC
for this.
Anyway, have a look at
PHP-DEV is for the development OF PHP, not for developing WITH PHP.
Ask support questions on PHP-GENERAL ([EMAIL PROTECTED]).
Sander
On 2002.02.25 17:04 Nautilis wrote:
Hi everybody,
I show a list of files that I upload to the user's folder using the
next
code:
$path=
Below is the patch for bug #14899 about imagetypes() not reporting
support for GIFs.
Can someone apply this patch?
Sander
Index: gd.c
===
RCS file: /repository/php4/ext/gd/gd.c,v
retrieving revision 1.175
diff -u -r1.175 gd.c
---
[PROBLEM]
Sessions can easily be taken over by other, malicious users. All you
need is the session-id and you're done.
User who have read-access to the directory where PHP stores it's
session-data, can read the ids directly from the filenames. I don't
think many administrators are aware of the
On 2002.01.26 11:04 Prakash wrote:
Hi,
file bbb.cgi
#!/usr/local/bin/php -q
Why are you runnign PHP in quiet mode? Try removing that -q.
BTW, this is not the right place to ask such questions. Ask questions
like this one on PHP-GENERAL.
Sander
--
PHP Development Mailing List
I've some questions about building PHP on Win platform.
I use VC++6.0 and load workspace from the win32 directory.
After loading I looked at the configurations and found that there many.
Which one to choose?
php4ts is for the cgi, php4apache is for the apache module, php4isapi
creates the
I'm not sure if this newsgroup is the right place for my message. If it
isn't please tell me the correct one to post to.
I want to use PHP to handle my own database format but I can't seem to
find
fprintf in the documentation even though fscanf is there.
Does PHP have an fprintf
Any other thoughts?
Blame M$!
Sander
FB
From: Chris Newbill [EMAIL PROTECTED]
To: 'Fred B' [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [PHP-DEV] Re: Bug #14653 Updated: Internet Explorer for
Macintosh receives bad HTTP header info from PHP Header()
Date: Sat, 22 Dec
Basic structure is ready but it needs a lot of work.
Glad to get more people working on it.
I would like to contribute too. The current bug system works pretty well,
but it's pretty basic and there many things to be improved.
I asked Derick to give me a CVS account ;)
Is Bubar on a server
There is a bug report: http://bugs.php.net/bug.php?id=11813edit=1
in which I suggested the person whoever builds the binary releases
to build two versions of the GD extension..this didn't happen
for some reason.
IMO, the simplest solution to this problem is to provide php_gd2.dll in a
Is your system-time correctly? Most browsers silently ignore cookies with if
they are already expired...
Try telnet-ing to your webserver to see whether it's a client or server
problem.
Sander
- Original Message -
From: Markus Fischer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL
--
Bug 13711:
[set_time_limit affects other requests on the same Apache process]
Trying to reproduce this now.
Pretty much by definition this cannot happen. We'd have to go through
hoops to create this behavior
Then this will do the same:
$sum = `md5sum filename`;
Yes it will, but only if you have safe-mode disabled, and you're running
Unix or Linux. +1 for adding this function.
Sander
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Gabor Hojtsy wrote:
directory, where should php.ini go (c:\windows, c:\winnt,
c:\winxp ???), and other operating system related info.
Paths are the same as with Windows 2000.
Nope... at least, that's not what I've heard.
Windows 2000 uses c:\winnt (for php.ini) and c:\winnt\system32
What is the feasibility of getting the module included in the source
distribution of PHP and how should I begin this process?
Well... you can start by telling us what it does...
Sander
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Is anyone tested PHP on Windows XP?
Yes, it works fine. I have tested Apache 2.0.27-dev, PHP 4.2.0-dev and
MySQL 3.23.41 on my notebook (where I have a Windows XP Professional
installation) recently.
FYI: it also works fine the latest stable versions: Apache 1.3.22 and PHP
4.0.6.
Actually it is just a note next to the submit button. But it should do
the job.
Can't you check for duplicate messages? Construct a query which checks if
there's already a row with that e-mail adres, subject, etc... that should
really do it...
Sander
--
PHP Development Mailing List
I'm using the latest snap from snaps.php.net: 200110180600.
4.0.7RC3 compiled fine...
CGI compiles fine, Apache module failes.
I'm using VC6 and Apache 1.3.22.
Configuration: php4apache - Win32
Release_TS
Compiling...
mod_php4.c
Ask support questions on PHP-GENERAL.
- Original Message -
From:
Florent
CHANTRET
To: [EMAIL PROTECTED]
Sent: Monday, September 03, 2001 4:42
PM
Subject: [PHP-DEV] PHP Building problem
with Freetype
Hi there,
I want to compile PHP 4.0.6 with GD (it
But you didn't specify it.
Configure --with-png-dir=/path/to/png
Sander
- Original Message -
From: Erdenemandal Bat-Erdene [EMAIL PROTECTED]
To: Bug Database [EMAIL PROTECTED]
Sent: Monday, September 03, 2001 4:42 PM
Subject: [PHP-DEV] Re: Bug #13104 Updated: GD problem
Thanks , But
Please ask support questions on the PHP-GENERAL
mailinglist.
- Original Message -
From:
Brad R.
C.
To: [EMAIL PROTECTED]
Sent: Monday, September 03, 2001 5:00
PM
Subject: [PHP-DEV] Pulling a random
image
Hello everyone...
I have been working on this
This is not the mailinglist for support questions. Use PHP-GENERAL instead.
Sander
- Original Message -
From: king [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 27, 2001 6:11 PM
Subject: [PHP-DEV] who can help me?
i use win98se, where could i get a .DLL or .SO file to
You're supposed to ask questions like these on the php-general mailinglist
(or in this case maybe the php-db mailinglist).
But to help you a bit:
mysql_query(UPDATE user SET password=password('$password') WHERE
user='root');
Sander
- Original Message -
From: root [EMAIL PROTECTED]
To:
Not a bug in PHP. Verified with htpasswd (couldn't get a simple
crypt-demonstration-script working :-)
$ ./htpasswd -d -nb test 11lei11lao11
returned test:Au7LW/UPElj0c
$ ./htpasswd -d -nb test 11lei11lao11whatever
returned test:Au7LW/UPElj0c
I guess it's a bug (or an undocumented behaviour) of
I can't close this bug yet but I'm sure somebody will... It's a duplicate of
9875...
Thanks,
Sander
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, August 13, 2001 5:23 PM
Subject: [PHP-DEV] Bug #12716: Add the imagecopyresizedbicubic function
From:
77 matches
Mail list logo