Re: [PHP-DEV] set_error_handler() not handling E_ERROR

2001-01-13 Thread Rasmus Lerdorf
This was covered recently. See http://marc.theaimsgroup.com/?l=php-dev&m=97673386418430&w=2 On Sat, 13 Jan 2001, Chris Newbill wrote: > PHP Version 4.0.3pl1 and 4.0.4 > > It was my understanding that when using set_error_handler() ALL errors were > sent to the users function? This does not see

Re: [PHP-DEV] PHP 4.0.4 patchlevel 1 released

2001-01-13 Thread Rasmus Lerdorf
Could you guys confirm that this problem no longer exists? On Sat, 13 Jan 2001, Anil Madhavapeddy wrote: > Quoting Phil Driscoll <[EMAIL PROTECTED]>: > > > my ISP reckons that the DNS machines for php.net are not > > giving authoritative responses. > > Just to confirm this problem (I have it too

Re: [PHP-DEV] PHP 4.0 Bug #8697: Apache Seg Fault on run

2001-01-14 Thread Rasmus Lerdorf
straces and ldds really don't tell us much. Get us a gdb stack trace with debug symbols and we can do something. -Rasmus On 14 Jan 2001 [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: Linux RH7.0 > PHP version: 4.0 Latest CVS (14/01/2001)

Re: [PHP-DEV] TSRM and Zend directories disappeared from cvs

2001-01-15 Thread Rasmus Lerdorf
These have never been in cvs.php.net. They are at cvs.zend.com. ie. cd php4 cvs -d:pserver:[EMAIL PROTECTED]:/repository login Password: zend cvs -d:pserver:[EMAIL PROTECTED]:/repository co Zend cvs -d:pserver:[EMAIL PROTECTED]:/repository co TSRM -Rasmus On Tue, 16 Jan 2001

Re: [PHP-DEV] PHP manual

2001-01-16 Thread Rasmus Lerdorf
Because it is generated. You can fetch it via rsync. See http://rsync.php.net/ -Rasmus On Wed, 17 Jan 2001, Simon Roberts wrote: > Why isn't phpweb/manual/en in CVS? > > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: [E

Re: [PHP-DEV] Re: PHP 4.0 Bug #8693 Updated: Problem upgradong from4.0.3pl1 to 4.0.4pl1

2001-01-16 Thread Rasmus Lerdorf
The only significant file that is installed is libphp4.so. Just delete that. -Rasmus On Tue, 16 Jan 2001, TheBomani wrote: > There is no error on my part. To correct this problem I only need to know > the location of the files the php installs on my system so I can deleate > the

[PHP-DEV] bitmapid in swf functions?

2001-01-17 Thread Rasmus Lerdorf
These swf functions seem somewhat magical. Should swf_definebitmap() somehow return a bitmapid? If not, where does the bitmapid parameter needed by swf_getbitmapinfo() and swf_shapefillbitmapclip() come from? I'm probably missing something obvious here. -Rasmus -- PHP Development Ma

Re: [PHP-DEV] bitmapid in swf functions?

2001-01-17 Thread Rasmus Lerdorf
ject id to use with swf_getbitmapinfo(), etc. > > ie, > > > // The bitmap id to define the bitmap with, and > // then use with the other bitmap functions > $pic_id = 10; > // Komodo, Rasmus? *LOL*! From phpics.com ;) > $pic_location = "korea/0.50/17.jpg"; > &

Re: [PHP-DEV] midgard, was RE: [PHP-DEV] Legal solution: RE: [PHP-DEV]Non-GPL readline

2001-01-17 Thread Rasmus Lerdorf
They obviously can't distribute PHP under the GPL. And I wish they would just contribute whatever patches to PHP they think need so Midgard could use a vanilla PHP install. -Rasmus On Wed, 17 Jan 2001, Sam Liddicott wrote: > Midgard, soon to use php4 is to be released GPL (according

Re: [PHP-DEV] midgard, was RE: [PHP-DEV] Legal solution: RE: [PHP-DEV] Non-GPL readline

2001-01-17 Thread Rasmus Lerdorf
> At 12:08 17/1/2001, Rasmus Lerdorf wrote: > >They obviously can't distribute PHP under the GPL. And I wish they would > >just contribute whatever patches to PHP they think need so Midgard could > >use a vanilla PHP install. > > Stas talked to them a while

Re: [PHP-DEV] bitmapid in swf functions?

2001-01-17 Thread Rasmus Lerdorf
> is an example in c (the api's are nearly the same, except php doesn't support > the sounds)... I noticed a patch referenced in the user comments at php.net/swf which adds sound support. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-

Re: [PHP-DEV] setup.stub files

2001-01-17 Thread Rasmus Lerdorf
they have died down. I think it is safe to ignore, or perhaps remove these setup.stub files now. -Rasmus On Wed, 17 Jan 2001, Stanislav Malyshev wrote: > Those files - what are they for? > > -- > Stanislav Malyshev, Zend Products Engineer > [EMAIL PROTECTED] http://www.zend.com/

Re: [PHP-DEV] ADT in PHP - where do we want them?

2001-01-17 Thread Rasmus Lerdorf
to use a snowboard (he got a head concussion, > I hope I use the right term here) and must attend to his bed for > another week. "trying to use his snowboard"... That seems like appropriate wording. ;) -Rasmus -- PHP Development Mailing List <http://www.php.net/> T

[PHP-DEV] Re: [PHP] calling static class functions using a function variable

2001-01-17 Thread Rasmus Lerdorf
to work. However I just tested it and it doesn't. Perhaps something that can be fixed. -Rasmus -- 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]

Re: [PHP-DEV] Redirecting output to a file

2001-01-17 Thread Rasmus Lerdorf
http://php.net/manual/en/ref.outcontrol.php On Wed, 17 Jan 2001, Malcolm Locke wrote: > Please correct me if there is already a facility to do this in place, but > I have searched the manual and can find no functions. I would like the > ability to redirect the standard PHP output stream to a fi

Re: [PHP-DEV] CVS Account Request

2001-01-20 Thread Rasmus Lerdorf
Do you have anything specific in mind? -Rasmus On 20 Jan 2001 [EMAIL PROTECTED] wrote: > Full name: Josef Kandlhofer > Email: [EMAIL PROTECTED] > ID: > Purpose: development -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECT

Re: [PHP-DEV] MySQL client library upgrade: 3.23.32

2001-01-23 Thread Rasmus Lerdorf
Sorry about that. Your karma has been increased. Try again please. On Tue, 23 Jan 2001, Thimble Smith wrote: > Hello, all. I tried to commit an upgrade the the libmysql > client, and got an error: > > Access denied: Insufficient Karma (mysql|php4) > cvs server: Pre-commit check failed >

Re: [PHP-DEV] Proposal for updating the PDF-extension

2001-01-24 Thread Rasmus Lerdorf
mplemented without a few backward compatibility issues, so be it. As long as we document this fact and you guys keep an eye on the mailing lists and the bug database and steer people who might be hit by the incompatibility in the right direction then everything is cool. -Rasmus On Wed, 24 Jan 20

Re: [PHP-DEV] Proposal for updating the PDF-extension

2001-01-24 Thread Rasmus Lerdorf
life easier for you guys and it means a well-maintained and well-documented pdflib extension for PHP then I am all for it. -Rasmus -- 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]

Re: [PHP-DEV] CVS Account Request

2001-01-24 Thread Rasmus Lerdorf
n($w*4, $h*4); header('Content-type: application/x-shockwave-flash'); $m->output(); I can't get the center of rotation right. Any chance you could have a look at it? -Rasmus On 24 Jan 2001 [EMAIL PROTECTED] wrote: > Full name: Dave Hayden > Email: [EMAIL PROTEC

Re: [PHP-DEV] php for embedded systems?

2001-01-24 Thread Rasmus Lerdorf
There is a php module for thttpd On Wed, 24 Jan 2001, Merlin Hansen wrote: > Hi, > > I realize that this is probably the wrong place to ask this but after searching > the php site and various new groups I still can't find an answer to my question: > > I am investigating placing a small web serve

Re: [PHP-DEV] security hole reported by freshmeet

2001-01-27 Thread Rasmus Lerdorf
The reference is right in the link you posted. Just upgrade to the latest version to address it. On Sat, 27 Jan 2001, moshe doron wrote: > http://freshmeat.net/news/2001/01/27/980597363.html > > where can i find any references? > > tnx > moshe. > > -- > > > > > > -- > PHP Development Mailing Li

Re: [PHP-DEV] security hole reported by freshmeet

2001-01-27 Thread Rasmus Lerdorf
pl2? This advisory has been out for over a week and the problem is fixed in 4.0.4pl1 -Rasmus On Sat, 27 Jan 2001, moshe doron wrote: > the problem here is, that i have problem to update some servers contains my > code coz them not in my ownship, so i just have to test if this bug af

Re: [PHP-DEV] ooops, i thought it new one but:

2001-01-27 Thread Rasmus Lerdorf
4.0.4pl1 has the fix On Sat, 27 Jan 2001, moshe doron wrote: > in debian, they say this bug affecting also 3pl1, but its not what i fount > on php.net. > can i be relexed if the servers i using runing 3pl1? > > -- > > > "Rasmus Lerdorf" <[EMAIL PROTECTED]

Re: [PHP-DEV] PHP 4.0 Bug #8889: Memory is not being freed.

2001-01-27 Thread Rasmus Lerdorf
> PS. Hey, guys from the php-dev. Don't you have anything > to say ? Please do that ! Please do what? You should try to figure out what is leaking memory on you. None of my servers are leaking. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscrib

Re: [PHP-DEV] PHP 4.0 Bug #8889: Memory is not being freed.

2001-01-29 Thread Rasmus Lerdorf
Seems to me like it would be a lot easier just to add more RAM. $89 for 256M these days. RAM is cheap. -Rasmus On Mon, 29 Jan 2001, Brian Moon wrote: > That is what we are doing now. We have it at 5. Any higher and we are > running out. There is only 128MB of RAM in our machine.

Re: [PHP-DEV] PHP 4.0 Bug #8889: Memory is not being freed.

2001-01-29 Thread Rasmus Lerdorf
it is for us. A quick fix would be to set your MaxRequestsPerChild to a lower value. -Rasmus -- 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]

Re: [PHP-DEV] PHP 4.0 Bug #8889: Memory is not being freed.

2001-01-29 Thread Rasmus Lerdorf
hing that happens on an actual request, so an end user isn't going to see that. -Rasmus -- 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]

Re: [PHP-DEV] PHP 4.0 Bug #8889: Memory is not being freed.

2001-01-29 Thread Rasmus Lerdorf
e system for it to be re-used. So the memory usage for any one process should never exceed the memory usage of your most memory hungry script. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: [PHP-DEV] Security techniques

2001-07-29 Thread Rasmus Lerdorf
; people shouldn't even have to call it themselves, > and I can imagine no situation (except for laziness) that you would not > call it. In practise people simply call move_uploaded_file() which performs this check. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubs

Re: [PHP-DEV] Security techniques

2001-07-29 Thread Rasmus Lerdorf
me other servers, but it > doesn't work with Netscape Enterprise Server - it's not officially part of the > spec, afaik. As long as it works with all browsers, which as far as I can tell it does, then it doesn't really concern me that some servers don't support it. Ap

Re: [PHP-DEV] Security Issues - a bit of my experience

2001-07-29 Thread Rasmus Lerdorf
catch > that. That's not the case. The default variable_order is EGPCS which means that POST variables will always overwrite GET variables of the same name. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend.c zend_execute_API.czend_hash.czend_hash.h zend_list.c zend_list.h

2001-08-02 Thread Rasmus Lerdorf
Yes, this wouldn't be a new branch, just the next version. On Thu, 2 Aug 2001, Jon Parise wrote: > On Thu, Aug 02, 2001 at 10:50:07AM -0700, Rasmus Lerdorf wrote: > > > I would pretty much insist on the _GET() stuff, import_globals() and > > register_globals changes b

Re: [PHP-DEV] Re: [ZEND-ENGINE] cvs: Zend / zend.c zend_execute_API.czend_hash.czend_hash.h zend_list.c zend_list.h

2001-08-02 Thread Rasmus Lerdorf
es I think there is enough new stuff and incompatible changes to warrant a 4.1 -Rasmus -- 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]

Re: [PHP-DEV] Programming question

2001-08-03 Thread Rasmus Lerdorf
s. PHP should always check the length. However, many external libraries that take string arguments are not going to be able to check our length property and we therefore should strive to null-terminate all strings. I noticed Thies has been going through recently and cleaning this up a bit. -Rasmu

Re: [PHP-DEV] RFC: mt_* functions

2001-08-04 Thread Rasmus Lerdorf
s better is rather irrelevant since the output of the algorithm itself is sometimes important. Many times you can swap crypt() for md5(), but many times you can't. Same goes for rand() and mt_rand(). -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe,

Re: [PHP-DEV] RFC: mt_* functions

2001-08-04 Thread Rasmus Lerdorf
> On Sat, 4 Aug 2001, Rasmus Lerdorf wrote: > >based on their seeds. If I, as an application developer, distributes a > >regression test harness which tests my app with a specific seed expecting > >a specific sequence and the server my app runs on has switched rand()

Re: [PHP-DEV] RFC: mt_* functions

2001-08-04 Thread Rasmus Lerdorf
> Or is it some specific version of it? No idea. -Rasmus -- 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]

[PHP-DEV] Chora now the default cvs.php.net system

2001-08-05 Thread Rasmus Lerdorf
I switched Chora over to be the default web cvs system behind cvs.php.net now. The old viewcvs site is still available at viewcvs.php.net (dns may not have updated yet) -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For addi

Re: [PHP-DEV] Bug #12575 Updated: Session register & destroyflaws/bugs(?)

2001-08-05 Thread Rasmus Lerdorf
> Closed? Or a Feature/Change request? Close it, I guess. It is working as it was designed and we can't really change this at this point because it would break a bunch of existing scripts. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [E

Re: [PHP-DEV] Satellite (Was: Re: [PHP-DEV] PHP 4.0.7)

2001-08-09 Thread Rasmus Lerdorf
> I just refreshed the Satellite extension a little, and set up a demo > server at http://satellite.2good.nu so you can see that it actually works! > :-) I get a no data from that URL. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL

Re: [PHP-DEV] Satellite (Was: Re: [PHP-DEV] PHP 4.0.7)

2001-08-09 Thread Rasmus Lerdorf
> > I get a no data from that URL. > > It's a redirect to a different port: > > http://satellite.2good.nu:1082 > > Or maybe it just doesn't work... It is working now. Check your error_log. I bet you have a few segvs listed. -Rasmus -- PHP Development Mai

Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Rasmus Lerdorf
I am too tired, but where did the stuff that would install php.h and the rest of the header files in /usr/local/include/php go? A "make install" doesn't seem to do this anymore which means standalone extensions are going to have issues. -Rasmus -- PHP Development Mailing List

Re: [PHP-DEV] Buildproblems in latest CVS

2001-08-10 Thread Rasmus Lerdorf
> It sits in pear/Makefile(.in)?. > > An installation I did two days ago looks complete -- all > header files were copied to $prefix/include/php. Yeah, it is working now. Almost 5am. I must have done something weird. -Rasmus -- PHP Development Mailing List <htt

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c

2001-08-10 Thread Rasmus Lerdorf
ule_entry's - the PHP macros are replicas of > the engine macros, which is a bad situation.Removing them was on my > TODO list on low prio, but I took the few minutes to do that now. I don't think this is a good trend. More and more stuff is being pulled into the engine. We a

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot php_sablot.h

2001-08-10 Thread Rasmus Lerdorf
ould try to use the modularity and plug in another engine. However, if everyone on php-dev thinks the above look to a PHP extension is just fine, I'll stop bickering. -Rasmus -- 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]

Re: [PHP-DEV] $_SESSION

2001-08-12 Thread Rasmus Lerdorf
> Were/are the register_global entries and $HTTP_SESSION_VARS[] entries > references to each other or not? They are -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrat

Re: [PHP-DEV] associative arrays

2001-08-13 Thread Rasmus Lerdorf
of the string. If the char * you are passing was allocated by you using emalloc() then don't make a copy. You don't need any zend_hash_xxx functions to just return an associative array. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL

Re: [PHP-DEV] associative arrays

2001-08-13 Thread Rasmus Lerdorf
> add_assoc_double(return_value, "another one", your_long_var); uh, confused double/long here. Should have said: your_double_var but you get the idea. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

Re: [PHP-DEV] associative arrays

2001-08-13 Thread Rasmus Lerdorf
rr), NULL); This will create $whatever[5]['string index'] = 'foo' Or if you want a string index at the top level: zend_hash_update(Z_ARRVAL_P(return_value), "bar", strlen("bar")+1, &tmp_arr, sizeof(tmp_arr), NULL); This will create $whatever['bar&

Re: [PHP-DEV] Safe to load extension twice ?

2001-08-15 Thread Rasmus Lerdorf
extension=foo.so and in the script its also loaded via > dl('foo.so'); > > Will this do any harm ? You will see lots and lots of errors about functions being redefined, so yes, it is a very bad idea to load a shared library twice. -Rasmus -- PHP Development Mailing List <

Re: [PHP-DEV] Output Compression Issues

2001-08-15 Thread Rasmus Lerdorf
s ap_table_unset() function, but I am not sure if other SAPI backends have support for this. -Rasmus -- 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]

Re: [PHP-DEV] Chora and CVSWeb problems

2001-08-19 Thread Rasmus Lerdorf
fact that IE choosed to pass text/plain to an internal XML parser is just one more reason you should never use IE for web browsing. You never know what the thing is going to do. I would not suggest changing Chora in any way with this respect. -Rasmus -- PHP Development Mailing List <http://

Re: [PHP-DEV] Chora and CVSWeb problems

2001-08-19 Thread Rasmus Lerdorf
> At 22:31 19-08-01, Rasmus Lerdorf wrote: > > > Maybe Chora puts out an XML content type header, or > > > something, that makes IE think this is XML (as it > > > is not). I can't see the source, as IE just denies > > > to show the source in suc

Re: [PHP-DEV] Chora and CVSWeb problems

2001-08-19 Thread Rasmus Lerdorf
> As much as this is appetizing to start a nice browser war, I'll control > myself. I think an English teacher could argue with that last sentence of > yours, though :) It was quite intentional. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: [PHP-DEV] [patch] php_insert_filter

2001-08-19 Thread Rasmus Lerdorf
Looks good to me. By the way, just go ahead and commit stuff like this. Someone will speak up if they think you messed something up. But you probably know the Apache2 filter stuff better than anybody here. -Rasmus On Sun, 19 Aug 2001, Doug MacEachern wrote: > with the patch below, the

[PHP-DEV] Anybody tested the Apache module recently?

2001-08-25 Thread Rasmus Lerdorf
GUSR1, {SIG_IGN}, {SIG_IGN}, 8) = 0 time(NULL) = 998782781 alarm(300) = 300 alarm(0) = 300 stat64("/home/rasmus/phpweb/t.php", {st_mode=S_IFREG|0664, st_size=30, ...}) =

Re: [PHP-DEV] Anybody tested the Apache module recently?

2001-08-25 Thread Rasmus Lerdorf
> It should be fixed now. Please let me know if it isn't. Well, as of right now, it is still broken. Or am I waiting for a commit? -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-DEV] Anybody tested the Apache module recently?

2001-08-26 Thread Rasmus Lerdorf
Ok, it is working again now. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/session php_session.h session.c /ext/standard url_scanner_ex.c url_scanner_ex.re

2001-08-26 Thread Rasmus Lerdorf
Hey, could you summarize your changes to trans_sid and the session sutff? I'm losing track with all these patches... On Mon, 27 Aug 2001, Zeev Suraski wrote: > zeev Sun Aug 26 20:23:55 2001 EDT > > Modified files: > /php4/ext/session php_session.h session.c > /php4/ext/standar

Re: [PHP-DEV] contributing extensions?

2001-08-27 Thread Rasmus Lerdorf
some of this stuff out into PEAR, especially for new extensions. -Rasmus On Mon, 27 Aug 2001, George Schlossnagle wrote: > Hi, > > I was interested in what the process of contributiing extensions to php > is. I'm a author/maintainer of a couple existing and soon-to-be php >

[PHP-DEV] Returning a string from an executed script?

2001-08-28 Thread Rasmus Lerdorf
Any suggestions? -Rasmus -- 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]

Re: [PHP-DEV] Returning a string from an executed script?

2001-08-29 Thread Rasmus Lerdorf
seemed a rather roundabout approach. The header is even more obscure. I think being able to call an execute_script() function and pass it the address of a char * to stick the return value in would be nice. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail:

Re: [PHP-DEV] Returning a string from an executed script?

2001-08-29 Thread Rasmus Lerdorf
ing else, and it would let us write nice and clean handlers for all the request_rec phases. -Rasmus -- 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]

Re: [PHP-DEV] Returning a string from an executed script?

2001-08-29 Thread Rasmus Lerdorf
> >That would work perfectly. Think this could be done sooner rather than > >later? ie. in the current engine? > > Yup, it should be doable. I added it to my TODO. Thanks -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP-DEV] Re: Rand

2001-09-03 Thread Rasmus Lerdorf
everyone suddenly noticed because everyone keeps track of the HEAD branch. -Rasmus -- 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]

Re: [PHP-DEV] Patch to interbase module.

2001-09-04 Thread Rasmus Lerdorf
%S", PHP_INI_ALL, OnUpdateString, cfg_timeformat, ze-{tatic IBG(timeformat) = NULL;NULL;zend_ibase_globals *ibase_globals) PHP_MINIT_FUNCTION(ib>num_persistent = 0;ULL; +static int _php_ibase_bind(XSQLDA *sqlda, pval **b_vars, BIND_BUF *buf) ... ie. complete gibberish. -Rasmus -- PHP Developme

Re: [PHP-DEV] Patch to interbase module.

2001-09-04 Thread Rasmus Lerdorf
Jeremy, could you please test the current CVS? Specifically the interbase.dsp change. -Rasmus -- 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:

Re: [PHP-DEV] big memory problem with 4.0.6

2001-09-05 Thread Rasmus Lerdorf
Try a snapshot of current CVS from http://snaps.php.net:8000/php4-200109050735.tar.bz2 and let us know if it is still happening. -Rasmus On Wed, 5 Sep 2001, fx wrote: > Hi > > I have a lot of memory problem with php 4.0.6 ... > " Fatal error: Allowed memory size of 1677721

Re: [PHP-DEV] Re: The rand() can of worms

2001-09-05 Thread Rasmus Lerdorf
y configure switch which turns my code on and off and making sure that without the switch nothing changes before I commit this beast. The configure switch may actually be permanent. Need to do a few benchmarks to determine that... -Rasmus -- PHP Development Mailing List <http://www.php.net/&

Re: [PHP-DEV] stristr() overwrites haystack

2001-09-06 Thread Rasmus Lerdorf
?r1=1.229&r2=1.230&f=u And it didn't leak into the PHP_4_0_7 branch. -Rasmus -- 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]

[PHP-DEV] new configure error

2001-09-06 Thread Rasmus Lerdorf
;&5 : missing terminating " character Some recent change is causing this. Was working before a recent cvs upd -dP && ./buildconf && rm config.cache && ./config.nice Ring a bell with anybody before I dive in and investigate? -Rasmus -- PHP Development Mailing Lis

Re: [PHP-DEV] Bug #13201: pthread_create in extension function neverreturns

2001-09-07 Thread Rasmus Lerdorf
Have you tried explicitly linking Apache against libpthreads? On 7 Sep 2001 [EMAIL PROTECTED] wrote: > From: [EMAIL PROTECTED] > Operating system: linux 2.4 glibc 2.1 > PHP version: 4.0.6 > PHP Bug Type: Unknown/Other Function > Bug description: pthread_create in extension

Re: [PHP-DEV] Woah

2001-09-07 Thread Rasmus Lerdorf
r those wanting to use `_' instead of `gettext' to declare: #include #define _(String) gettext (String) -Rasmus -- 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]

Re: [PHP-DEV] Woah

2001-09-07 Thread Rasmus Lerdorf
. I have reams and reams of PHP code that has _('blah blah blal') in it. When you internationalize a large site, typing gettext() thousands of times does get rather old very quickly. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EM

Re: [PHP-DEV] Woah

2001-09-07 Thread Rasmus Lerdorf
the same in C, C++, Perl, Python and Tcl. -Rasmus -- 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]

Re: [PHP-DEV] Woah

2001-09-07 Thread Rasmus Lerdorf
$str); } Since this is a function that will be called for every single string that is output from an application, it is a function that will be called dozens of times on every request. Adding the overhead of a user-space wrapper call is irritating. -Rasmus -- PHP Development Mailing List &l

Re: [PHP-DEV] Woah

2001-09-07 Thread Rasmus Lerdorf
cialchars(), > > You can do that in PHP? How? You can't. You missed the dripping sarcasm. -Rasmus -- 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]

Re: [PHP-DEV] Woah

2001-09-08 Thread Rasmus Lerdorf
> At 09:36 08-09-01, Rasmus Lerdorf wrote: > > > Using obscure single character operators is simply something that we don't > > > do in PHP, it's totally inconsistent with the language. > > > >You know I hate magic more than most. I have lobbied again

Re: [PHP-DEV] Doc Karma Request

2001-09-14 Thread Rasmus Lerdorf
Everyone with global php-dev level karma has automatic karma for phpdoc. That includes you. -Rasmus On Fri, 14 Sep 2001, Jason Greene wrote: > I hate to be a nag, but when someone gets a change could > they add phpdoc to my access list? > > Thanks, > -Jason > > >

Re: [PHP-DEV] enable truetype string function in gd

2001-09-21 Thread Rasmus Lerdorf
> I try to get the above mentioned to work with the 4.0.6 release on > Linux! > > But even though I provide the configure script with the > --enable-gd-native-ttf > switch, it reports that the feature is a no go There was a slight buglet in 4.0.6. Use --enable-gd-native-tt

Re: [PHP-DEV] Zend CVS doesn't compile

2001-09-22 Thread Rasmus Lerdorf
One of the places it is defined is in the generated zend_language_scanner.c file though. And that one isn't and can't be protected with an ifdef/define, so it still won't build. On Sat, 22 Sep 2001 [EMAIL PROTECTED] wrote: > Tried latest cvs update from zend and yy_state_type is typedef'ed in >

Re: [PHP-DEV] SquirrelMail?

2001-09-23 Thread Rasmus Lerdorf
They should just be using include_once or require_once On Sun, 23 Sep 2001 [EMAIL PROTECTED] wrote: > Has anyone else noticed that the current released version of squrrelmail > does not work with the CVS version of PHP? > > It seems that they are re-including PHP files. This could means that eit

Re: [PHP-DEV] [PATCH] fix gethostbyname() to return false whenhostname not resolved

2001-09-25 Thread Rasmus Lerdorf
> here's a patch to fix bug #13423. think anyone is relying on the > current (vastly lame, imho) behavior? Did you break the bug system somehow? I am having no luck looking up individual bugs, including this one. http://bugs.php.net/search.php?id=13423 doesn't work. -

Re: [PHP-DEV] [PATCH] fix gethostbyname() to return false whenhostname not resolved

2001-09-25 Thread Rasmus Lerdorf
Yes, but that's not where http://bugs.php.net/search.php sends you when you put a bug id number in the form. On Tue, 25 Sep 2001, Jim Winstead wrote: > On Tue, Sep 25, 2001 at 02:00:56PM -0700, Rasmus Lerdorf wrote: > > > here's a patch to fix bug #13423. think an

Re: [PHP-DEV] PostgreSQL / PHP Overrun Error

2001-09-27 Thread Rasmus Lerdorf
nderstand why you would want to hide your configure line from your customers. They can figure it out by looking at the rest of phpinfo() anyway, or simply by checking which extensions are active. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail

Re: [PHP-DEV] Re: [Zend Engine 2] namespaces ambiguity

2001-09-30 Thread Rasmus Lerdorf
> Anyway, if I'm not seeing the real ambiguity here, let me know. The ternary in question is expr ? val1 : val2 If val1 or val2 contains a : you have an ambiguity -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

Re: [PHP-DEV] Possibility of moving bugs to another list?

2001-10-02 Thread Rasmus Lerdorf
> i joined this group to read about php-development, not about bugs. The two are joined at the hip. -Rasmus -- 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 administ

Re: [PHP-DEV] quick addslashes bugfix

2001-10-03 Thread Rasmus Lerdorf
Hrm.. So Sybase does not need nulls escaped? Are you sure? Isn't the correct fix to make stripslashes() check for \0 ? -Rasmus On Wed, 3 Oct 2001, James L. Pine wrote: > addslashes currently backslash escapes \0 regardless of the value of > magic_quotes_sybase. if magic_quotes_s

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RC3

2001-10-03 Thread Rasmus Lerdorf
? Is this true for nsldap as well? Seems logical though. -Rasmus On Thu, 4 Oct 2001, Stig Venaas wrote: > On Thu, Oct 04, 2001 at 02:04:27AM +0200, Zeev Suraski wrote: > > Finally, it's out. > > www.php.net/~zeev/php-4.0.7RC3.tar.gz > > I see that my LDAP fix didn't

[PHP-DEV] ps_mm_initialize() always called

2001-10-05 Thread Rasmus Lerdorf
check if the session handler is mm in MINIT and also stick that initialization in the onupdate ini handler. -Rasmus -- 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 admini

Re: [PHP-DEV] Sessions and register_globals

2001-10-05 Thread Rasmus Lerdorf
This is expected behaviour as far as I am concerned. When register_globals is off the $session[] array is completely separate from $HTTP_SESSION_VARS['session'] so doing a session_register('session') is replacing the existing registered variable with this completely new one.

Re: [PHP-DEV] Re: ps_mm_initialize() always called

2001-10-05 Thread Rasmus Lerdorf
://bugs.php.net/bug.php?id=13095 -Rasmus On Fri, 5 Oct 2001, Sascha Schumann wrote: > On Fri, 5 Oct 2001, Rasmus Lerdorf wrote: > > > Sascha, do you think it would be possible to move that call out of the > > MINIT function in MINIT? It doesn't make a lot of sense to me t

Re: [PHP-DEV] Re: ps_mm_initialize() always called

2001-10-05 Thread Rasmus Lerdorf
Probably a good idea as the default Debian php-cgi build has mm support. Not everyone builds their own PHP. -Rasmus On Fri, 5 Oct 2001, Sascha Schumann wrote: > On Fri, 5 Oct 2001, Rasmus Lerdorf wrote: > > > I have seen a number of people getting "Unable to start session

Re: [PHP-DEV] Sessions and register_globals

2001-10-05 Thread Rasmus Lerdorf
> Sebastian Bergmann wrote: > > Rasmus Lerdorf wrote: > >> This is expected behaviour as far as I am concerned. > > > > Sascha just enlightened me on #php.de. > > Something I still don't understand: > > session_register("coun

[PHP-DEV] Re: Security e-mail address

2001-10-05 Thread Rasmus Lerdorf
have. Most of these are false alarms anyway. -Rasmus On Sat, 6 Oct 2001, Jani Taskinen wrote: > > What's wrong with php-dev? IIRC the [EMAIL PROTECTED] handles > only administration of the site and stuff.. > There can't be anything that fatal that all the people > subscr

[PHP-DEV] Re: Security e-mail address

2001-10-05 Thread Rasmus Lerdorf
le. That doesn't mean we can just sit on a security issue, we have to address it in a timely manner, but I see nothing wrong with limiting the distribution list and certainly not immediately injecting an exploit into every search engine in the world. -Rasmus -- PHP Development

Re: [PHP-DEV] Re: Security e-mail address

2001-10-05 Thread Rasmus Lerdorf
ome insight. > Also, the other issue are the so called 'script kiddies'..so you're right > in this. Yes, the majority of the attacks out there are really not very advanced. Just some kid who downloads an exploit from somewhere. If we can make a bit harder for these kids, we should.

Re: [PHP-DEV] Re: Bug #13728 Updated: --with-png-dir does not setthe include dir

2001-10-18 Thread Rasmus Lerdorf
Get rid of the libpng 1.0.3 header files. Since they are on your include path PHP will pick them up first and use them. No real way around that. -Rasmus On Thu, 18 Oct 2001, Jean-Francois LE CAM wrote: > No way, I still have the error... > > - Original Message - > From: &

Re: [PHP-DEV] Forcing trans_sid on?

2001-10-18 Thread Rasmus Lerdorf
> AFAICT, it behaved like this before your patches. > At least lxr said so. :) Then lxr is wrong. If you look at session.c in 4.0.6 you will see that it doesn't do that. So we do not have a released version of PHP out there with that behaviour. -Rasmus -- PHP Development Mailing

<    5   6   7   8   9   10   11   >