and than output it.
The problem is in the php_stream_passthru function. We need a
sapi_flush(TSRMLS_C) or php_end_ob_buffer(1, 1 TSRMLS_CC) call.
Not only the readfile command is affected, also the gzpassthru command.
Any comments?
Best regards,
Steve
--
PHP Development Mailing List http
Hi,
the Changelog file in the php4 cvs tree is unchanged since 7 days.
Is the script (cvs2cl ?) broken?
Regards,
Steve
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
why result the functions phpinfo() and phpcredits() as plain text
when i set the html_error = Off.
I think this is not the correct behavior, or not?
Regards,
Steve
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
signal).
I've test it with the lastest cvs version.
Any help?
Regards,
Steve
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
is in the cvs tree the file upload currently broken?
I miss the $_FILES['myfile'] variables.
Regards,
Steve
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
, return_value_used=1)
at /usr/src/php4/ext/standard/file.c:423
#11 0x4041de99 in execute (op_array=0x8161194) at
/usr/src/php4/Zend/zend_execute.c:1602
#12 0x4040a99e in zend_execute_scripts (type=8, retval=0x0, file_count=
3) at /usr/src/php4/Zend/zend.c:814
Any helps?
Regards,
Steve
--
PHP
.
A bug or a new behavior in zend 2?
Regards,
Steve
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
0x4008c280 in __libc_start_main () from /lib/libc.so.6
Regards,
Steve
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Yes, see bug #14237
http://bugs.php.net/bug.php?id=14237
or
http://phpxpath.sourceforge.net/benchmark/phpBench.php
Regards,
Steve
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Can you post this to php.announce as well?
Marko Karppinen wrote:
PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and 4.2.1
Issued on: July 22, 2002
Software: PHP versions 4.2.0 and 4.2.1
Platforms: All
The PHP Group has learned of a serious security
the incomplete ming documentation.
Regards,
Steve
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
how can i use a callback function in
preg_replace_callback or set_error_handler;
with functions in classes?
e.g:
?php
class foo{
function bar($x){
return 'world';
}
}
echo preg_replace_callback('/hello/','bar','hello');
?
What's the right syntax?
Regards,
Steve
--
PHP
0x401f0280 in __libc_start_main () from /lib/libc.so.6
--
Regards,
Steve
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Chris Shiflett wrote:
I have a few sites where I deliberately violate the HTTP spec in this
way to get around a bug in IE (I know, shame on me). I've been using
relative URLs in a Location header for years with no crashes that I
know of.
There must be something unique in your
Yasuo Ohgaki wrote:
Marcus Börger wrote:
At 03:52 30.05.2002, Yasuo Ohgaki wrote:
From my expirience postgres is slower if you use referential integrity
(what you should do)
but this you cannot do in mysql (and therefore it is some kind of data
storage but not a real rdbms).
Just to
support is definitely needed.
Right now I don't run any web farms, but I used to work for a company with
125+ web servers, so I understand the problem.
Steve Meyers
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
The problem with using databases are they they are expensive and they are
slow.
A generalized PostgreSQL session manager would be cool, I have actually
been thinking about such an extension. Using the schema from the PG
msession plugin, it would be fairly easy.
[EMAIL PROTECTED] wrote:
I agree that msession is better than using MySQL or PostgreSQL as a
session manager. However, most people who use PHP on web farms
already have some sort of database set up, so it seems logical to me
to be able to use it for storing sessions. MySQL actually
, Steve Meyers wrote :
I just tried ext/shmop, and without even using it, the fact that it is
compiled in to php causes it to segfault on every request.
Here's my ./configure line
./configure --with-mysql=/usr --with-pgsql --enable-ftp --with-ldap
--with-gmp --disable-pear --enable-shmop
I just tried ext/shmop, and without even using it, the fact that it is
compiled in to php causes it to segfault on every request.
Here's my ./configure line
./configure --with-mysql=/usr --with-pgsql --enable-ftp --with-ldap
--with-gmp --disable-pear --enable-shmop --enable-apc
Try get_defined_vars()
Hank Marquardt wrote:
Allow me to elaborate --
I basically am looking for whatever is *not* in the existing $_ arrays.
The application is to save state in a 'crash and burn' function as much
as possible about the crash event ... I'm serializing it all and writing
On Sun, 2002-04-28 at 22:43, Jason Greene wrote:
In the case of a socket you are selecting on has errored, the socket
will show up as readable. You then can perform a socket_read/recv, and
you should receive NULL (errored socket), then you can call
socket_last_error to receive the errno.
There's only one thing it's missing -- the equivalent of
socket_get_status(), which is not part of the extension, despite the name.
If I set my socket to nonblocking, the only way to tell if it has died is
to try to write to it, which isn't always a desirable thing to do :)
Unless there's
If you have a very limited number of messages that could be passed, you
could use signals. For example, child 1 would send a signal to the parent,
and the parent would then signal all of the other children.
If you have more complex messages that need to be passed, that won't work,
of course.
Or use a simple database wrapper, that will save you coding time anyway.
Try PHPLIB's wrappers, for example. They handle doing the database select
for you, you just have to do the query.
Rasmus Lerdorf wrote:
So use mysql_db_query()
On Mon, 22 Apr 2002, Matthew Walker wrote:
Since
Title: [PATCH] bug 12655: datetime format in mssql extension
The 4.1.2 (and before) mssql entension returns datetime fields as a locale specific format eg: Oct 30 2001 7:44PM, which doesn't allow access to the seconds or milliseconds field of datetime. I patched my copy of mssql to have a
?php
$varname = ;
$GLOBALS[$varname] = new stdClass();
$GLOBALS[]-{} = bar;
$GLOBALS[$varname]-$varname = foo;
?
Any difference to what you did? Should PHP spit out warnings every time a
developer does something that it considers stupid? Most languages fully
support the user shooting
Sam Liddicott wrote:
want to patch swig so that methods shadow classes can take variable
numbers of arguments. The shadow methods need to pass on the same number
of arguments using get_args() and call_user_func_array, but can't because
If I remember right, you have to use array($object,
Ken Egervari wrote:
I agree with you friend. Everything is always in beta as far as I am
concerned. Everything evolves. But PEAR has been around for how long
now? I think its time it started to evolve a little faster and its goals
be
re-evaluated. When PHP 5 supports a simular language
and I've told them they can
add them and they never did. In fact, I wanted that to happen since that
would provide more tools to everyone.
- Original Message -
From: Steve Meyers [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 12, 2002 7:22 PM
Subject: Re: [PHP-DEV] The PHP
Wez Furlong wrote:
Hi Sean,
socket_get_status is unlikely to ever work with socket resources
from the sockets extension.
You should be using things like the select() function to test the
status of your sockets if you are dealing with them on such a low
level.
--Wez.
This is a
$_PERSISTENT could store data key'd to the script that stored it.
$_PERSISTENT_GLOBAL (probably a better name can be found) could just
store data accessable to any script under a certain document root. You
definitly do not want to share persistent data across document roots (ie
virtual
I've been trying to figure out how to know when a connection is dead when
the socket is non-blocking. It seems to return the same error code (11)
whether the connection is dead or if no data is waiting. On the
socket_read() manual page, it says to see also socket_get_status(), which
sounds
If MI can be emulated using aggregation, how hard would it be to add the
syntax for MI to the language, but have it implement it using aggregation?
Zeev Suraski wrote:
At 00:44 09/04/2002, brad lafountain wrote:
If aggregation is included then i see it is absoulty necessary to include
MI too.
I'd still like to see your project, as a basic framework for a server
without any specific protocol implemented. That sounds pretty cool
actually.
Daniel Lorch wrote:
hi,
A better way to do the method that you are trying to to do is to set a
signal handler for SIGCHLD that waits on a
().
Cheers,
Steve Langasek
postmodern programmer
msg36144/pgp0.pgp
Description: PGP signature
[EMAIL PROTECTED] wrote:
On Mon, 4 Mar 2002, James Cox wrote:
if anyone has access to a Birdstep server (velocis) can you QA this? I'm
waiting on seeing if the Birdstep company will send me a copy of their
product - however it's just name changes..
It should get tested anyway, you could
I think you're missing something here, Yasuo Hans is talking about
unregistering a single session variable, not the entire session array
He's talking about unset($_SESSION['varname']), not unset($_SESSION)
Yasuo Ohgaki wrote:
Hans Spath wrote:
Yasuo Ohgaki wrote:
Hans Spath wrote:
Yasuo Ohgaki wrote:
Hi, whoever relased PHP 412
It is announced in freshmeast
However, there is no announce message in phpannounce (yet) :)
There was also no announcement for the security bugfix to PHP IMO, this
is a serious oversight
--
PHP Development Mailing List http://wwwphpnet/
Lars Torben Wilson wrote:
On Sat, 2002-02-16 at 18:01, Yasuo Ohgaki wrote:
Yasuo Ohgaki wrote:
Stefan Esser wrote:
Hmmm btw... This idea just came to my mind and i don't know if it
would be
too much overhead, but what about keeping track of what variables
got already magically
Yasuo Ohgaki wrote:
Markus Fischer wrote:
Can someone point me where the following behaviour is documented:
$ php -q
?
$foo = array(27 = 'Ene');
$bar = array(-1 = 'Mene');
$baz = $foo + $bar;
var_dump($baz);
?
array(2) {
[27]=
Actually, I looked at the alleged dupe, and it was solved by setting
session.auto_start to 0 in php.ini. This report says that he cannot solve
the problem by doing that, so it is probably different in solution although
similar in symptoms.
[EMAIL PROTECTED] wrote:
ID: 14928
Updated by:
This is well documented in the comments for array_merge() in the manual. A
workaround is given -- the '+' operator is overloaded to do an associative
array merge when two arrays are given.
Blaine McDonnell wrote:
From: [EMAIL PROTECTED]
Operating system: BSD Windows
PHP
It's probably the double quotes. Either use single quotes, or double
backslashes. For example,
T([\\da-z8]{1,})
[EMAIL PROTECTED] wrote:
From: [EMAIL PROTECTED]
Operating system: Win ME
PHP version: 4.1.1
PHP Bug Type: Documentation problem
Bug description:
i don't know about the performance loss
but the hex numbers you get are just what
you requested
The performance loss is also due to using HTTP/1.1, which defaults to
having keepalive on. Until you tell it to close the connection or it times
out (about 2 seconds), it will keep it open.
[EMAIL PROTECTED] wrote:
ID: 14872
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Bogus
Bug Type: Sockets related
Operating System: RedHat Linux
PHP Version: 4.0.6
New Comment:
Steve,
Thanks for the clarification.
I posted this question in a number
My word, I didn't remember PHP developers being so rude to people...
The problem is that the php.ini had session.auto_start=1, at least that
would be my guess. I think that bug (and I think it is a bug) has come up
several times before. Even with the auto-start, it shouldn't start until
ID: 13396
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Closed
Bug Type: Reproducible crash
Operating System: Windows 98 SE
PHP Version: 4.0.6
New Comment:
After some research I now believe my issue was caused by a configuration error in
Personal Web
From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.1-RELEASE i386
PHP version: 4.0.6
PHP Bug Type: Mail related
Bug description: Mail function always returns false
This is to confirm the bug reported in Bug ID #14032
PHP Apache Module
Versions 4.0.4, 4.0.6
FreeBSD 4.1
ID: 14535
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: Mail related
Operating System: FreeBSD 4.1-RELEASE i386
PHP Version: 4.0.6
New Comment:
I don't have 4.1.0 loaded on the FreeBSD machine yet, but I received an email this
Hi Guys
I am developing with PHP and XML. Now I experience some problem with the
processing instructions of xml (?xml version=1.0 encoding=UTF-8?)
which causes PHP to return a parsing error.
This is logical because ? is also the short-tag processing instruction for
PHP. Does anybody got an idea
Hi all
Does anyone got any experience with JAVA in PHP?
I tried to rebuild php with java support. Everything worked well but when I
try to initiate Java in PHP, I get cannot instantiate Virtual machine.
I use kaffe and I believe I have configured PHP correctly.
See
From: [EMAIL PROTECTED]
Operating system: Linux
PHP version: 4.0.5
PHP Bug Type: Scripting Engine problem
Bug description: variables set in remotely include()d file are lost upon return
When using http to include() or require() a file,
the variables set within are lost
a workaround.
Steve Rapaport
--
Edit bug report at: http://bugs.php.net/?id=14165edit=1
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
appear to be passed back in
the include()'s return value, it will only pass back
integers.
If anyone sees another way to do this please help!
I will keep looking and post a followup here and to the
manual if I find a workaround.
Steve Rapaport
to me to be a logical
extension of the URL request idea. If it's currently impossible, I'm
looking for a workaround.
Marco's suggestion to print out the database using cvs doesn't change
anything, since I still can't pass a string back.
Best regards,
Steve Rapaport.
Previous
firewalled and non-routed. The public one should
be able to access the database on the private one, but
nobody else should.
Thanks for the attention!
Steve
Previous Comments:
[2001-11-21 17:01:34] [EMAIL PROTECTED]
Maybe
Thanks, Lars! I never would have thought of this, and yes it works!
Best,
Steve.
Lars Torben Wilson wrote:
[EMAIL PROTECTED]">
[EMAIL PROTECTED] writes:
Dear Brian, Marco et al:Sorry to be persistent, but I am pretty sure thatmy postings have been misunderstood, and the las
':
sysvshm.c:87: warning: passing arg 1 of
`zend_register_list_destructors_ex' from incompatible pointer type
zip.c: In function `zif_zip_entry_open':
zip.c:263: warning: assignment makes integer from pointer without a cast
-
Regards,
Steve
--
PHP Development Mailing List http
You had the words New With Warranty in your code, and it wasn't in quotes.
In fact your sprintf doesn't make much sense at all, since there are no %'s
in it.
The keyword new is used for instantiating objects, i.e.
$obj = new class();
If you're going to use strings, put them in quotes:
0xcdc9
) at string.c:1549
Cannot access memory at address 0xcd79
Regards,
Steve
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
SIGSEGV, Segmentation fault.
gdImageJpegCtx (im=???, outfile=???, quality=???) at gd_jpeg.c:207
207 int val = im-tpixels[i][j];
(gdb) bt
#0 gdImageJpegCtx (im=???, outfile=???, quality=???) at gd_jpeg.c:207
I have attached the gd file.
Regards,
--
Steve
--
PHP Development
begin 755 2.gd
M__\`%0`:`?]_?W]_?W]_?W__
M__]_=[!P']_?W]_?W]_?___
M_W]_?W]_?W]_?W]A\M+1
M+_7:V17LNKA'WHJ'=EVG]_?W]_?W]_
From: [EMAIL PROTECTED]
Operating system: Windows 98 SE
PHP version: 4.0.6
PHP Bug Type: Reproducible crash
Bug description: php4ts.dll crashes on shutdown of Windows
I think this is really a me too for bug #12270, but I can't add to that
report.
I have also had this
, al no poder levantar el libphp4.so indicando indefinido uncompress
User reports:
I have apache and mysql installed, when I try to start apache with php4 it
crashes because it can't load libphp4.so, reporting 'uncompress not defined'
(undefined symbol).
Steve Langasek
postmodern programmer
of language
purity.
So I'm all for removing _() from the gettext extension... but I think the
people who are so eager for this have a responsibility to make sure PHP has a
good option for user-aliasing of functions in place before it goes away.
Steve Langasek
postmodern programmer
--
PHP
/Unix. This would allow the client to
request data from the broker and the broker could query any OLE DB provider
available.
How would this compare with the existing ODBC-based extension?
Cheers,
Steve Langasek
postmodern programmer
--
PHP Development Mailing List http://www.php.net
back on-line before I
can share it.
Steve Langasek
postmodern programmer
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
.
Cheers,
Steve Langasek
postmodern programmer
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
libraries, so I can't actually test that compiling both extensions statically
does indeed work, but I don't see where there could possibly be a problem.
Hopefully someone on the FreeTDS list who has a need for this will be able to
step up and confirm for sure whether or not it works.
Thanks,
Steve
the issue up with the maintainers of the appropriate Debian
packages. Looks like this isn't PHP's bug.
Thanks,
Steve Langasek
postmodern programmer
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
can't
imagine that there is so much difference between these two codebases that we
need one extension with a .dsp file and one extension with a config.m4 file.
Are there other reasons why PHP developers would prefer not to combine these
two extensions into one?
Regards,
Steve Langasek
postmodern
.
This patch makes the changes necessary to support moving configure.in to
configure.ac. It should of course be accompanied by an actual rename of that
file in CVS.
Regards,
Steve Langasek
postmodern programmer
Index: build/build2.mk
===
RCS
by header files internal to this
extension. With this change, it should be possible to statically include both
the IBM DB2 and Sybase extensions in a single PHP build.
Regards,
Steve Langasek
postmodern programmer
Index: ext/sybase/php_sybase_db.c
ID: 8874
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: FTP related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.0.4
New Comment:
Per my previous message, I no longer have access to the FreeBSD server to try it.
ID: 8874
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Open
Bug Type: FTP related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.0.4
New Comment:
$aFiles = Array( Oct100.log.gz, Nov100.log.gz);
// $aFiles = ftp_rawlist (nFTP,
ID: 8874
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Feedback
Bug Type: FTP related
Operating System: Windows 2000 Advanced Server
PHP Version: 4.0.4
New Comment:
Thanks for responding. I no longer have access to the FreeBSD FTP server that I was
connecting to, so
From: [EMAIL PROTECTED]
Operating system: Win NT 4.0
PHP version: 4.0.6
PHP Bug Type: *Graphics related
Bug description: ImageGammaCorrect no longer works
A script that worked in PHP 4.0.4 no longer works in PHP 4.0.6 (with the php_gd.dll
bundled with the Win32 binaries).
From: [EMAIL PROTECTED]
Operating system: Win NT 4.0
PHP version: 4.0.6
PHP Bug Type: *Graphics related
Bug description: ImageCreate not backward compatible
This script worked fine in 4.0.4, but produces a bad color-shift in 4.0.6:
$srcImage = ImageCreateFromJPEG(
cannot download (for English at least) the tarballs
or zip files for plain/html docs.
Cheers!
Steve
--
Edit Bug report at: http://bugs.php.net/?id=11714edit=1
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version: 4.0.6
PHP Bug Type: *Web Server problem
Bug description: UNC paths not working when used in include_path
Using a UNC path in as the home directory under IIS 5.0
and Windows 2000 Server using the PHP ISAPI
The sybase_ct extension does not work on Windows. The following two simple
changes are necessary for it to eliminate the segfault. Would it be
possible to put these changes into the 4.0.6 branch? Thanks!
In ext/sybase_ct/php_sybase_ct.c, around line 200, change these two lines:
static
an? Does it translate to
__declspec(dllexport)?
If so maybe we should be removing the static?
Andi
At 02:34 PM 5/22/2001 -0600, Steve Meyers wrote:
The sybase_ct extension does not work on Windows. The following two
simple
changes are necessary for it to eliminate the segfault. Would it be
From the manual for fsockopen:
Depending on the environment, the Unix domain or the optional connect
timeout may not be available.
--
Steve Meyers
[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
ID: 10765
Updated by: sniper
Reported By: [EMAIL P
I had the same problem when I first compiled 4.0.5, using the built-in MySQL
libraries. I changed my configure line to use --with-mysql=/usr/local/mysql
and it worked fine after that. I had the same problem on two different
boxes. Seems kind of odd that they didn't catch this one...
[EMAIL
uot;/
Radio LABEL="10" NAME="AGE" VALUE="10"/
Radio LABEL="20" NAME="AGE" VALUE="20"/
Check LABEL="stamps" NAME="hobby" VALUE="stamps"/
/Form
Any guidance would be greatly appreciated,
Thank,
Steve
From: [EMAIL PROTECTED]
Operating system: RedHat Linux 6.2
PHP version: 4.0.4pl1
PHP Bug Type: Pspell related
Bug description: Bug id #8133 solved (pspell_new)
I experienced almost the same problems that get described in
bug id #8133.
To be more specific:
When my program
It seems to me that the problem is that it hasn't parsed and executed the
auto_prepend_file before the parse error occurs in the main script. Would
it be possible to execute the auto_prepend_file before parsing the main
script, or would that break functionality?
Steve Meyers
Build Manager
From: [EMAIL PROTECTED]
Operating system: Windows 2000 Advanced Server
PHP version: 4.0.4
PHP Bug Type: *Function Specific
Bug description: ftp_nlist and rawlist not working
The ftp_nlist and ftp_rawlist functions failed to work for me. I am using PHP.EXE
v4.0.4 from a
89 matches
Mail list logo