Re: [PHP] Session ?

2012-12-12 Thread ma...@behnke.biz
Jim Giner hat am 12. Dezember 2012 um 02:53 geschrieben: > On 12/11/2012 7:27 PM, Marco Behnke wrote: > > Am 08.12.12 19:08, schrieb Jim Giner: > >> All my debugging messages indicagte that I have the same session id, > >> yet I don't have the same variables, ie, they're missing. > > Just to be

[PHP] Php application with session used in a cluster

2012-12-12 Thread Jan Vávra
Hello, we are considering to use a php on several application servers behind the apache mod_proxy_balancer. Our php app is using session cookies. And we would like to use session stickyness - once the user connects to app server X and gets the session cookie, all other request will be ballanc

Re: [PHP] Lucene library

2012-12-12 Thread ma...@behnke.biz
Louis Huppenbauer hat am 12. Dezember 2012 um 07:07 geschrieben: > There's Zend_Search_Lucene, part of the Zend framework. I think it should > be possible to use it without the whole framework though. > > http://framework.zend.com/manual/1.12/de/zend.search.lucene.html see http://www.phpgangst

[PHP] Compile APC in PHP 5.2

2012-12-12 Thread Alexander Diedler
Hello, I try to get APC working for a compiled PHP 5.2.17. On this Ubuntu, we have an PHP 5.3 installed with APT-GET and a PHP 5.2 as CGI module compiled with make etc. In the PHP 5.3 I got APC running in phpinfo, but not in PHP 5.2, what we have to do to get work it? I use this http://de2.php

Re: [PHP] Compile APC in PHP 5.2

2012-12-12 Thread Sebastian Krebs
Hi, You should definitely not use PHP5.2 anymore. Regards, Sebastian 2012/12/12 Alexander Diedler > Hello, > I try to get APC working for a compiled PHP 5.2.17. > On this Ubuntu, we have an PHP 5.3 installed with APT-GET and a PHP 5.2 as > CGI module compiled with make etc. > In the PHP 5.3 I

Re: [PHP] Session ?

2012-12-12 Thread Jim Giner
On 12/12/2012 8:08 AM, ma...@behnke.biz wrote: Jim Giner hat am 12. Dezember 2012 um 02:53 geschrieben: On 12/11/2012 7:27 PM, Marco Behnke wrote: Am 08.12.12 19:08, schrieb Jim Giner: All my debugging messages indicagte that I have the same session id, yet I don't have the same variables,

[PHP] preg_replace question

2012-12-12 Thread Curtis Maurand
I have several poisoned .js files on a server. I can use find to recursively find them and then use preg_replace to replace the string. However the string is filled with single quotes, semi-colons and a lot of other special characters. Will preg_relace(escapeshellarg($String),$replacement) w

[PHP] Re: preg_replace question

2012-12-12 Thread Maciek Sokolewicz
On 12-12-2012 17:11, Curtis Maurand wrote: I have several poisoned .js files on a server. I can use find to recursively find them and then use preg_replace to replace the string. However the string is filled with single quotes, semi-colons and a lot of other special characters. Will preg_relace

[PHP] storing & searching docs

2012-12-12 Thread Jim Giner
Slightly off-topic perhaps but I'm looking for general input here. New idea for a project - save the minutes of my firehouse meetings into a mysql table and build a ui to search them for words and such. The docs are written in Word currently. My simplistic idea is to perhaps convert them to

Re: [PHP] Re: preg_replace question

2012-12-12 Thread Ashley Sheridan
Maciek Sokolewicz wrote: >On 12-12-2012 17:11, Curtis Maurand wrote: >> I have several poisoned .js files on a server. I can use find to >> recursively find them and then use preg_replace to replace the >string. >> However the string is filled with single quotes, semi-colons and a >lot >> of o

Re: [PHP] Php application with session used in a cluster

2012-12-12 Thread Jim Lucas
On 12/12/2012 05:19 AM, Jan Vávra wrote: Hello, we are considering to use a php on several application servers behind the apache mod_proxy_balancer. Our php app is using session cookies. And we would like to use session stickyness - once the user connects to app server X and gets the session cook

Re: [PHP] storing & searching docs

2012-12-12 Thread Paul M Foster
On Wed, Dec 12, 2012 at 01:00:41PM -0500, Jim Giner wrote: > Slightly off-topic perhaps but I'm looking for general input here. > > New idea for a project - save the minutes of my firehouse meetings > into a mysql table and build a ui to search them for words and such. > The docs are written in W

[PHP] Re: preg_replace question

2012-12-12 Thread Curtis Maurand
On 12/12/2012 12:00 PM, Maciek Sokolewicz wrote: On 12-12-2012 17:11, Curtis Maurand wrote: I have several poisoned .js files on a server. I can use find to recursively find them and then use preg_replace to replace the string. However the string is filled with single quotes, semi-colons and a

Re: [PHP] storing & searching docs

2012-12-12 Thread Maciek Sokolewicz
On 12-12-2012 21:03, Paul M Foster wrote: Second, you've hit on one of my pet peeves. Never never store huge blocks of text in SQL files. It slows them down and there's no real reason for it. There's no reason to force a DBMS to schlep around massive clumps of text or binary data. That's what dis

[PHP] Re: preg_replace question

2012-12-12 Thread Maciek Sokolewicz
On 12-12-2012 21:10, Curtis Maurand wrote: On 12/12/2012 12:00 PM, Maciek Sokolewicz wrote: On 12-12-2012 17:11, Curtis Maurand wrote: I have several poisoned .js files on a server. I can use find to recursively find them and then use preg_replace to replace the string. However the string is f

Re: [PHP] storing & searching docs

2012-12-12 Thread Maciek Sokolewicz
On 12-12-2012 21:40, Maciek Sokolewicz wrote: On 12-12-2012 21:03, Paul M Foster wrote: Second, you've hit on one of my pet peeves. Never never store huge blocks of text in SQL files. It slows them down and there's no real reason for it. There's no reason to force a DBMS to schlep around massive

Re: [PHP] Re: preg_replace question

2012-12-12 Thread Curtis Maurand
On 12/12/2012 3:47 PM, Maciek Sokolewicz wrote: On 12-12-2012 21:10, Curtis Maurand wrote: On 12/12/2012 12:00 PM, Maciek Sokolewicz wrote: On 12-12-2012 17:11, Curtis Maurand wrote: I have several poisoned .js files on a server. I can use find to recursively find them and then use preg_repla

Re: [PHP] preg_replace question

2012-12-12 Thread Simon J Welsh
On 13/12/2012, at 10:08 AM, Curtis Maurand wrote: > On 12/12/2012 3:47 PM, Maciek Sokolewicz wrote: >> On 12-12-2012 21:10, Curtis Maurand wrote: >>> On 12/12/2012 12:00 PM, Maciek Sokolewicz wrote: On 12-12-2012 17:11, Curtis Maurand wrote: First of all, why do you want to use pre

Re: [PHP] Session ?

2012-12-12 Thread Marco Behnke
Am 12.12.12 15:58, schrieb Jim Giner: > On 12/12/2012 8:08 AM, ma...@behnke.biz wrote: >> >> >> Jim Giner hat am 12. Dezember 2012 um >> 02:53 >> geschrieben: >>> On 12/11/2012 7:27 PM, Marco Behnke wrote: Am 08.12.12 19:08, schrieb Jim Giner: > All my debugging messages indicagte that I