[nyphp-talk] Caching, memcached and sessions

2007-10-04 Thread Cliff Hirsch
So Mitch proposed memcached as a solution to caching a DB in a distributed environment. For that matter, why not use memcached or even an in-memory database engine for sessions? Remind me why I need to store my sessions in a disk-based file or database? Sessions are meant to be temporary, not perm

Re: [nyphp-talk] Multi-server DB config caching strategy

2007-10-04 Thread Cliff Hirsch
> Why not just have a memcached instance run on every webserver and be > done with it? > > http://www.danga.com/memcached/ > > Dead simple, maybe I could present memcache at NYPHP? > > -- Mitch Dang, that is dead simple. I knew there had to be an easy answer. Seems like it would even work well

Re: [nyphp-talk] Multi-server DB config caching strategy

2007-10-04 Thread Mitch Pirtle
On 10/4/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: > > Ideas? Why not just have a memcached instance run on every webserver and be done with it? http://www.danga.com/memcached/ Dead simple, maybe I could present memcache at NYPHP? -- Mitch ___ New Y

[nyphp-talk] Multi-server DB config caching strategy

2007-10-04 Thread Cliff Hirsch
I¹m understand caching and packages like cachelite, etc. What perplexes me is how to update a cache in a multi-server, one database environment. Say I cache config data from the database on each server. If I update config info in the database, how would I propagate this out to each server. Essentia

RE: [nyphp-talk] PHP in Action, Online Book

2007-10-04 Thread Hans Zaunere
Hans Zaunere wrote on Thursday, October 04, 2007 11:38 AM: > All, > > Thanks to Manning Publishing, we're pleased to be able to provide the > online edition of the new PHP in Action book. > > http://tinyurl.com/283hzh > > The link will be valid for 5 days. > > We'll also have copies for review

[nyphp-talk] PHP in Action, Online Book

2007-10-04 Thread Hans Zaunere
All, Thanks to Manning Publishing, we're pleased to be able to provide the online edition of the new PHP in Action book. http://tinyurl.com/283hzh The link will be valid for 5 days. We'll also have copies for review and give-away at our next meeting, and we encourage folks to post reviews of t

Re: [nyphp-talk] Apache Directives to Disable All Scripts in Sub-Directory?

2007-10-04 Thread Matteo Rinaudo
Yes, or just force this behavior, because when a type is removed, it defaults to the default type. Matteo On 10/4/07, Daniel Convissor <[EMAIL PROTECTED]> wrote: > On Tue, Oct 02, 2007 at 12:04:13PM -0400, Michael B Allen wrote: > > > > > >RemoveType .php > > Guess you could redefine

Re: [nyphp-talk] Apache Directives to Disable All Scripts in Sub-Directory?

2007-10-04 Thread Daniel Convissor
On Tue, Oct 02, 2007 at 12:04:13PM -0400, Michael B Allen wrote: > > >RemoveType .php Guess you could redefine .php as text/plain or something. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming

[nyphp-talk] PHPSESSID Issue

2007-10-04 Thread Randal Rust
I have a site where the ID keeps getting appended to the URL. So I went in and added the following lines to my config.php file, which is included on every page. ini_set('session.user_only_cookies', TRUE); ini_set('session.use_trans_sid', FALSE); The ID still shows when I first visit the page. If