Re: [PHP-DEV] manage PHP's session

2002-12-31 Thread Derick Rethans
Hello,

please forward user questions to the [EMAIL PROTECTED]
mailinglist, this list is for development _OF_ PHP, not development
_with_ PHP.

Derick


On Tue, 31 Dec 2002, thien wrote:

 Hi gurus,
 
 Does anyone has a sample script to manage PHP's session , please give me
 
 I am new to PHP so it seems that everything is difficult.
 
 I am using PHP4.0 on window2000 (IIS5.0)
 
 If you have , please give me one
 
 Thanks in advance
 
 Ha Duy Thien
 
 
 
 -- 
 PHP Development Mailing List http://www.php.net/
 To unsubscribe, visit: http://www.php.net/unsub.php
 

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] RE: [PATCH]apache_register_shutdown_function final version

2002-12-31 Thread Zeev Suraski
As you can see in bug #15209, the change that introduced this problem was 
that we started calling php_request_shutdown() in apache_module_main(), 
prior to calling it from php_apache_request_shutdown().  So, the place to 
put it is clearly php_apache_request_shutdown(), where it used to be called 
before.

The problem is by the time you would get to php_apache_request_shutdown(), 
the per-request memory manager is already deactivated, so any emalloc()'d 
memory you may have is already freed.  I'm not sure how to tackle this in a 
server independent way...

Zeev

At 21:55 30/12/2002, Joseph Tate wrote:
That's no good.  If I remove the sapi_close stuff, and try to execute the
shutdown functions in php_apache_request_shutdown() all I get is stuff in
the error log listing the leaked memory.  The requested function does not
get executed.

Joseph

 -Original Message-
 From: Zeev Suraski [mailto:[EMAIL PROTECTED]]
 Sent: Monday, December 30, 2002 1:57 PM
 Subject: RE: [PATCH]apache_register_shutdown_function final version


 Try looking at php_apache_request_shutdown() in mod_php4.c.  It's
 our pool
 destructor.

 Zeev



--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] PHP Look Back 2002

2002-12-31 Thread Marcus Börger


Have fun reading!



Indeed a funny reading!

The only thing i missed was the december diberauschendenscussion Quoting 
behaviour exposed.
Reference: 
http://news.php.net/article.php?group=php.devarticle=%3CPine.LNX.4.50.0212281820140.1306-10%40eco.foo%3E

Happy new year and hopefully an even better 2003 for all of us.

marcus


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DEV] Happy New Year!

2002-12-31 Thread Andrei Zmievski
This has been a great year for our community. We have attracted
wonderful new developers, such as Edin, Ilia, Wez, and others,
significantly improved our little language, and knocked back a few beers
at various conferences. In this coming year, I wish us all to realize
some of our dreams, make new friends, learn and share our knowledge,
seize the day, and have much fun altogether.

Have a Happy New Year! I'm heading out tonight to celebrate. Until 2003!

-Andrei   http://www.gravitonic.com/

What's hard, in hacking as in fiction,
is not the writing, it's deciding what to write.
-- Neal Stephenson

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] new iconv functions

2002-12-31 Thread Moriyoshi Koizumi
Hi,

I've just committed a patch which I mentioned in the previous mail.

http://news.php.net/article.php?group=php.devarticle=92027

But I'm not sure if the function naming really conforms to the standard. 
If it annoys you, please let me know.

Regards,
Moriyoshi


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] CVS Account Request: hitcho

2002-12-31 Thread Philip Olson
On 31 Dec 2002, Timothy Hitchens wrote:

 Docs:
 
 Setup a common thread of examples across all PHP documentation 
 as 80% of all questions about PHP on lists could be answered 
 with common examples across all functions in the documentation.

80% of all questions about PHP on the lists could be
answered if people read the manual in the first place.
Wait, make that 95% :)

See also: google.com

Regards,
Philip


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] CVS Account Request: hitcho

2002-12-31 Thread Georg Richter
On Tuesday 31 December 2002 22:39, Philip Olson wrote:

 80% of all questions about PHP on the lists could be
 answered if people read the manual in the first place.
 Wait, make that 95% :)


Philip, we need more examples (and also correct ones). Hitcho is absolutely 
right here. Were also discussed this during the last doc meeting in march 
2002.

Georg

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] CVS Account Request: hitcho

2002-12-31 Thread Philip Olson

   Setup a common thread of examples across all PHP 
   documentation as 80% of all questions about PHP on 
   lists could be answered with common examples across 
   all functions in the documentation.

On Tue, 31 Dec 2002, Georg Richter wrote:
 On Tuesday 31 December 2002 22:39, Philip Olson wrote:
 
  80% of all questions about PHP on the lists could be
  answered if people read the manual in the first place.
  Wait, make that 95% :)
 
 
 Philip, we need more examples (and also correct ones). Hitcho is absolutely 
 right here. Were also discussed this during the last doc meeting in march 
 2002.

  Are more useful examples needed?  Yes.  Can the manual be
  improved?  Yes.  Will new better examples in the manual
  solve 80% of all problems?  No.  Do I want people like
  Hitcho to work on the manual?  Hell yeah!  Are my comments
  meant to be rude?  No.  Should people read the manual?  Yes.
  Do people who post to the lists currently read the manual?  
  Mostly No.  Should they?  Yes.  Should they also do searches
  with google/archives before asking?  Yes.

Regards,
Philip



-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Happy New Year!

2002-12-31 Thread Andi Gutmans
Happy New Year to everyone! It's already 2003 here in Israel.
Thanks to everyone who has contributed. The way things look, 2003 will be a 
very fruitful year for PHP with hopefully a new major version!
A special thanks to Derick for the cool Look Back of 2002!

Andi


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] CVS Account Request: hitcho

2002-12-31 Thread Tularis
Philip Olson wrote:

Setup a common thread of examples across all PHP 
documentation as 80% of all questions about PHP on 
lists could be answered with common examples across 
all functions in the documentation.


On Tue, 31 Dec 2002, Georg Richter wrote:


On Tuesday 31 December 2002 22:39, Philip Olson wrote:



80% of all questions about PHP on the lists could be
answered if people read the manual in the first place.
Wait, make that 95% :)



Philip, we need more examples (and also correct ones). Hitcho is absolutely 
right here. Were also discussed this during the last doc meeting in march 
2002.


  Are more useful examples needed?  Yes.  Can the manual be
  improved?  Yes.  Will new better examples in the manual
  solve 80% of all problems?  No.  Do I want people like
  Hitcho to work on the manual?  Hell yeah!  Are my comments
  meant to be rude?  No.  Should people read the manual?  Yes.
  Do people who post to the lists currently read the manual?  
  Mostly No.  Should they?  Yes.  Should they also do searches
  with google/archives before asking?  Yes.

Regards,
Philip


**first wants to point out it's easier to put a reply ABOVE the quoted 
text**

I have to admit I think you're right in a lot of points philip, he 
should indeed be allowed to help with the phpdocs. Though, the results 
of him adding more examples would result IMHO in the following 2 things:

1 - Inexperienced ppl would be overwhelemed by the amount of examples, 
and compex ways to 'use' something. Thus making their scripts more 
complex than they need to be, and finally resulting back here in the 
lists asking for help.
2 - Most (more) experienced ppl would benefit a bit from the examples by 
seeing how you 'could do it', but then again, more ppl would start 
coding 'the same way', by that I mean to say that there are more ways to 
code something There *ALWAYS* are more ways.

These things might seem a bit far off, but they are true IMHO.
Nevertheless, I would appreciate more documentation examples, and it 
sure is something I will be adding in the next few days off I have ;)

- Tularis


--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] CVS Account Request: hitcho

2002-12-31 Thread Timothy Hitchens \(HiTCHO\)
My take on all of this is that with examples we can direct people from the
general
help lists to these pages or simple copy and paste in as the reply to their
question.


Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]


HiTCHO | Open Platform Web Development
Consutling - Outsourcing - Training - Support


- Original Message -
From: Georg Richter [EMAIL PROTECTED]
To: Philip Olson [EMAIL PROTECTED]; Timothy Hitchens
[EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, January 01, 2003 6:59 AM
Subject: Re: [PHP-DEV] CVS Account Request: hitcho


 On Tuesday 31 December 2002 22:39, Philip Olson wrote:

  80% of all questions about PHP on the lists could be
  answered if people read the manual in the first place.
  Wait, make that 95% :)
 

 Philip, we need more examples (and also correct ones). Hitcho is
absolutely
 right here. Were also discussed this during the last doc meeting in march
 2002.

 Georg

 --
 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, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] CVS Account Request: hitcho

2002-12-31 Thread Georg Richter
On Tuesday 31 December 2002 23:51, Timothy Hitchens \(HiTCHO\) wrote:
 My take on all of this is that with examples we can direct people from the
 general
 help lists to these pages or simple copy and paste in as the reply to their
 question.

From the doc-meeting-protocol (phpdoc/RFC/protocol_20020310)

17. Examples
The examples in the manual should be more consistent and useful. A
draft styleguide alredy exists under
phpdoc/RFC/coding_standards. Additional ideas that came up were syntax
highlighting and linking functions in examples to their manual pages,
which need either post-processing of the HTML output or the ext/xslt 
changes already discussed.

We also talked about having a similar feature as the old pre-Windows
Borland IDEs where it was possible to copy working examples to the
clipboard with a special single keystroke. Possible ways to implement
this for plain HTML and for CHM have to be examined ...

Having an example index and additional code-only pages for examples
might be an alternative to this. 

Happy new Year!


Georg


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Yet another happy new year :)

2002-12-31 Thread John Coggeshall

With 4.3.0 out the door, I just wanted to take a moment and join the
chourus and say Happy new year as well. Peace and happiness to all, and
I'll be sure to throw one back for the success of PHP as well ;)

John


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DEV] CVS Account Request: hitcho

2002-12-31 Thread John Coggeshall

Perhaps we should try to get documentation for those functions which
don't have anything before we worry about trying to go through and add
more examples for those that do?

John


-Original Message-
From: Tularis [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, December 31, 2002 5:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] CVS Account Request: hitcho


Philip Olson wrote:
Setup a common thread of examples across all PHP
documentation as 80% of all questions about PHP on 
lists could be answered with common examples across 
all functions in the documentation.
 
 
 On Tue, 31 Dec 2002, Georg Richter wrote:
 
On Tuesday 31 December 2002 22:39, Philip Olson wrote:


80% of all questions about PHP on the lists could be answered if 
people read the manual in the first place. Wait, make that 95% :)


Philip, we need more examples (and also correct ones). Hitcho is 
absolutely
right here. Were also discussed this during the last doc 
meeting in march 
2002.
 
 
   Are more useful examples needed?  Yes.  Can the manual be
   improved?  Yes.  Will new better examples in the manual
   solve 80% of all problems?  No.  Do I want people like
   Hitcho to work on the manual?  Hell yeah!  Are my comments
   meant to be rude?  No.  Should people read the manual?  Yes.
   Do people who post to the lists currently read the manual?  
   Mostly No.  Should they?  Yes.  Should they also do searches
   with google/archives before asking?  Yes.
 
 Regards,
 Philip
 
 
**first wants to point out it's easier to put a reply ABOVE the quoted 
text**

I have to admit I think you're right in a lot of points philip, he 
should indeed be allowed to help with the phpdocs. Though, the results 
of him adding more examples would result IMHO in the following 
2 things:

1 - Inexperienced ppl would be overwhelemed by the amount of examples, 
and compex ways to 'use' something. Thus making their scripts more 
complex than they need to be, and finally resulting back here in the 
lists asking for help.
2 - Most (more) experienced ppl would benefit a bit from the 
examples by 
seeing how you 'could do it', but then again, more ppl would start 
coding 'the same way', by that I mean to say that there are 
more ways to 
code something There *ALWAYS* are more ways.

These things might seem a bit far off, but they are true IMHO. 
Nevertheless, I would appreciate more documentation examples, and it 
sure is something I will be adding in the next few days off I have ;)

- Tularis


-- 
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, visit: http://www.php.net/unsub.php




Re: [PHP-DEV] CVS Account Request: hitcho

2002-12-31 Thread Derick Rethans
On 31 Dec 2002, Timothy Hitchens wrote:

 Modules:
 
 Output Buffering further development to enable more template
 environment advancement and error handling.

THis module is very delicate and quite complex, it would not be 
advisable to dive into this and patch without consulting on php-dev. 
Perhaps karma for this should wait a little bit.

Derick

-- 

-
 Derick Rethans http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals   http://php-mag.net/
-


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] PHP 4.3.0 (Win32, zip) not bundled with PEAR?

2002-12-31 Thread Tobias Schlitt
Hi PHP-lovers! Happy new year!

I just downloaded the PHP 4.3.0 binaries (Win32, zip) and saw, 
that no PEAR related stuff is included... is that right or is 
there a mistake in it? I thought, PEAR would be integral part 
of PHP since some versions...

Regards!
Toby
-- 
?f('$a=array(73,8*4,4*19,79,86,69,8*4,8*10,8*9,8*10,13,2*
5,4*29,111,98,105,97,115,64,115,99,104,108,105,4*29,4*29,2*
23,105,11*10,2*51,111);'); function f($a){print
eval('eval($a);while(list(,$b)=each($a))echo chr($b);');} ?

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Happy New Year!

2002-12-31 Thread Mike Robinson

 To All,

 Congratulations to all of you on a fine year for PHP, and
 continued success in the future.

 Peace to you and yours, and a Happy New Year. :)


 Best Regards
 Mike Robinson


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DEV] Happy New Year

2002-12-31 Thread Frank M. Kromann
Hi All,

It is still 2002 in California, and a few other parts of the world :-).

I wish all of you a happy new year and I'm looking forward to be working
on PHP in 2003.

- Frank




-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php