[PHP-DEV] IMAP_MOVE

2002-02-14 Thread macky
i read the documentation on php.net on imap_mail_move one of arguement is "MSGLIST".. how do i get MSGLIST? it also says that it is not the message number? can someone show me a sample code for this.. TIA -- PHP Development Mailing List To unsubscribe, visit: http:

[PHP-DEV] Re: php-dev@

2002-02-14 Thread knight
If we are not having a problem with spam, this service might actually defer some of the good posters. Brendan "James Cox" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Would anyone mind if we were to have a filter for php-dev, similar to the > other lists, i

[PHP-DEV] Patches for odbc_execute()

2002-02-14 Thread Lars Torben Wilson
Could someone check these out and commit them (or similar)? At the moment, odbc_execute() allows any script to view any file without regard to safe_mode or open_basedir, and also under certain circumstances can corrupt its parameters. See Bug #15516 for more info. It may be desirable to change th

[PHP-DEV] Re: Nuking issock - PHP Streams

2002-02-14 Thread Wez Furlong
I'm just tidying up the basics first, then the more exotic stuff. BTW: it there a rule about code in main/* not being allowed to depend on code in ext/standard/* ? (it would only be temporary) Actually, what would be nice would be to move most of the ext/standard/fsock.c code into main/network.c

Re: [PHP-DEV] Improved array dereferencing

2002-02-14 Thread Jesse McCarthy
Zeev Suraski <[EMAIL PROTECTED]> wrote on 2/14/02 3:37:17 AM: >No, no plans for this kind of array dereferencing. Arrays and objects >aren't going to be that similar anymore in the ZE2. > Thanks for replying to my post. Why is that? (That is, "no plans", not "Arrays and objects >aren't goin

[PHP-DEV] Re: Extension format (fwd)

2002-02-14 Thread J Smith
Look at README.EXTENSIONS in the top level of the PHP source. Basically, the zend_module_entry was changed a bit. That's about it. J David Croft wrote: > > Could someone please update me on what needs to be changed to make an > 4.0.6 extension function on 4.1.1? > > Thanks. > -- PHP D

Re: [PHP-DEV] Extension format (fwd)

2002-02-14 Thread Brad House
Umm, look at README.EXTENSIONS in the source distribution. Very explicit. RTFM ?! David Croft wrote: > Could someone please update me on what needs to be changed to make an > 4.0.6 extension function on 4.1.1? > > Thanks. > > -- - Brad House Sr. Developer Mai

Re: [PHP-DEV] Re: global HashTables

2002-02-14 Thread l0t3k
Brad, > Techincally i don't need to call efree() cause it will do it for me?? > now that i know that i can be lazy with all of my emallocs :) technically, probably... but to me its always good form to match allocations with deallocations. -- PHP Development Mailing List

RE: [PHP-DEV] php-dev@

2002-02-14 Thread Jani Taskinen
This list is really nice now when the unnecessary noise is gone. And try browsing the web archives now. They're actually readable. :) --Jani On Thu, 14 Feb 2002, Lukas Smith wrote: >Honestly, how much spam is there on this list? >Very few ... and they are quickly redirected .. act

Re: [PHP-DEV] Re: global HashTables

2002-02-14 Thread brad lafountain
Goddamit that worked.. thanks a bunch man!... I literly have been tracking that down for 10 friggin hours!!! It took me forever just to figure out where it was crashing then another forever figureing out why... I alsways thought that emalloc just allowed php to keep track of

[PHP-DEV] Extension format (fwd)

2002-02-14 Thread David Croft
Could someone please update me on what needs to be changed to make an 4.0.6 extension function on 4.1.1? Thanks. -- |> /+\ \| | |> David Croft Infotrek -- Forwarded message -- Date: Mon, 11 Feb 2002 18:21:19 -0500 (EST) From: David Croft <[EMAIL PROTECTED]> To: [EMAIL PROTECTE

[PHP-DEV] Re: global HashTables

2002-02-14 Thread l0t3k
Brad, [snip] /* {{{ php_test_init_globals */ static void php_test_init_globals(zend_test_globals *test_globals) { test_globals->global_hash = emalloc(sizeof(HashTable)); zend_hash_init(test_globals->global_hash, 0, NULL, delete_friggin_type, 0); zend_hash_add(test_globals->global_hash, "myke

RE: [PHP-DEV] php-dev@

2002-02-14 Thread Lukas Smith
Honestly, how much spam is there on this list? Very few ... and they are quickly redirected .. actually the most clutter from wrong posts come from 5 people telling that person to go else where I think improving the quality or better preventing crappy bug reports would save more wasted mails ...

[PHP-DEV] php-dev@

2002-02-14 Thread James Cox
Would anyone mind if we were to have a filter for php-dev, similar to the other lists, in which ezmlm sends mail to a new sender, to have them confirm the post, and have it state what the list is about? This way people who post to the php-dev list must agree that they know what list they're posti

Re: [PHP-DEV] global HashTables

2002-02-14 Thread brad lafountain
Wrong type? Why do you say that i put the value into the hash as a string.. and im trying to get it out as a string... what type should it be? - Brad --- Markus Fischer <[EMAIL PROTECTED]> wrote: > Look at the fourth parameter of zend_hash_find(), it's the > wrong type. You may want to

Re: [PHP-DEV] global HashTables

2002-02-14 Thread Markus Fischer
Look at the fourth parameter of zend_hash_find(), it's the wrong type. You may want to read other modules sources how it's done. Btw, for such simple things you don't need an apache to spot things. You can use the CGI (even if you don't get an immidiate crash). Turn on deb

[PHP-DEV] global HashTables

2002-02-14 Thread brad lafountain
Sorry i forgot to attach the extension __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com test.tar.gz Description: test.tar.gz -- PHP Development Mailing List To unsubscribe, visi

[PHP-DEV] global HashTables

2002-02-14 Thread brad lafountain
Ok... I have hashtables in global memory and when i read from them i am getting some random crashing proplems apache seems to be segfaulting when my application does a zend_hash_find(); well it doesn't segfault right away.. it segfaults at the end of the php script the only way i can tell

[PHP-DEV] Re: Nuking issock - PHP Streams

2002-02-14 Thread l0t3k
Wez, if you include your "memory" stream in the TODO list, i'd be mucho happy ... and i completely agree that the streams interface is the way to go in PHP5.. Wez Furlong <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi All, > > I'd like to see streams e

RE: [PHP-DEV] Newbie help w/ dynamic variables

2002-02-14 Thread Chris Newbill
Why not make an alias for php-general called php-support/php-dev-support?  Maybe people would be more inclined to go there before php-dev.   And I already replied to this person.   -Chris   -Original Message- From: Honey House Designs [mailto:[EMAIL PROTECTED]] Sent: Thursda

[PHP-DEV] Newbie help w/ dynamic variables

2002-02-14 Thread Honey House Designs
I would like to dynamically create variables in my WHILE loop that then can actually have php parsed html code stored inside them and then have the value of that variable run when after php is run and as the html is evaluated at page loading...   Any suggestions? And be gentle... I am a newb

Re: [PHP-DEV] php.ini search path

2002-02-14 Thread Björn Schotte
* Edin Kadribasic wrote: > I'm curious: how would this affect hosted environments? When you use PHP as > a module in Apache, the php.ini file is read when the server is started. Hosters normally use PHP CGI environments. -- PHP-Support * realitätsnahe Performance-Messungen mit Code-Analyse

Re: [PHP-DEV] php.ini search path

2002-02-14 Thread Edin Kadribasic
> Please only remove CWD from php.ini search path when > compiled as cli. (There are some hosters out there > where you can have your own php.ini at your vhost > which is IMHO a good feature.) I'm curious: how would this affect hosted environments? When you use PHP as a module in Apache, the php.

Re: [PHP-DEV] php.ini search path

2002-02-14 Thread Björn Schotte
Hi, * Edin Kadribasic wrote: > Are there any objections to removing CWD from php.ini search path? Please only remove CWD from php.ini search path when compiled as cli. (There are some hosters out there where you can have your own php.ini at your vhost which is IMHO a good feature.) -- PHP-Supp

Re: [PHP-DEV] php.ini search path

2002-02-14 Thread Edin Kadribasic
> > Currently php searches for php.ini in the current working directory, PHPRC > > environment variable and the compiled in default dir (in that order). > > Searching in the CWD first is IMHO not a very good thing, especially when > > dealing with cli scripts. > > > > Are there any objections to r

Re: [PHP-DEV] php.ini search path

2002-02-14 Thread Markus Fischer
On Thu, Feb 14, 2002 at 04:53:56PM +0100, Edin Kadribasic wrote : > Currently php searches for php.ini in the current working directory, PHPRC > environment variable and the compiled in default dir (in that order). > Searching in the CWD first is IMHO not a very good thing, especially when > deal

[PHP-DEV] php.ini search path

2002-02-14 Thread Edin Kadribasic
Currently php searches for php.ini in the current working directory, PHPRC environment variable and the compiled in default dir (in that order). Searching in the CWD first is IMHO not a very good thing, especially when dealing with cli scripts. Are there any objections to removing CWD from php.in

[PHP-DEV] Re: Constants

2002-02-14 Thread J Smith
I think it's 2^31 because that's 2147483648, the largest value available for a long signed int in ANSI C.I t's also the value of RAND_MAX in stdlib.h on many systems. (It is on my system at any rate, linux using glibc.) J Evan Nemerson wrote: > I was thinking about putting together a list

[PHP-DEV] HELP: Where a class is located?

2002-02-14 Thread Ivo Stoykov
Hello Please help me with this: How could I detirmite where a class is located (usually included into another class)? I would like to compose a path relatively to the class location. Thank you Ivo -- PHP Development Mailing List To unsubscribe, visit: http://www.php.n

Re: [PHP-DEV] Re: Bug #15535 Updated: Un-HTML-Entities

2002-02-14 Thread Derick Rethans
On Thu, 14 Feb 2002, Yasuo Ohgaki wrote: > Wez Furlong wrote: > > Well, I've already coded it and it's ready to commit :-) > > > > Should we include html_entity_decode in CVS? > > It is effectively the same as the snippet below, just a little > > bit more obvious that it can be done (and slightly

Re: [PHP-DEV] [patch] one script to handle them all

2002-02-14 Thread Rasmus Lerdorf
It is sort of a specialized instance of the more generic framework I started. Not knowing when I will have time to get back to my stuff, and the fact that I don't think these two would actually conflict in any way other than there eventually being two ways to do the same thing, I don't have a

Re: [PHP-DEV] Improved array dereferencing

2002-02-14 Thread Zeev Suraski
At 04:03 14/02/2002, Jesse McCarthy wrote: >I posted this to the "PHP Into the Future" forum on Zend.com and no one >responded, so now I'm posting it here, though I'm not sure how directly >relevant it is to this list: > >I don't know if this has come up, but I think it would be great to have >imp

Re: [PHP-DEV] [patch] one script to handle them all

2002-02-14 Thread Thies C. Arntzen
On Wed, Feb 13, 2002 at 12:36:49PM +0100, Lukas Schroeder wrote: > On Wed, Feb 13, 2002 at 08:13:42AM +0100, Markus Fischer wrote: > > Patches should always be against latest CVS. > > here it is. against latest CVS. how does this compare the the work rasmnus has done some time ago -