Re: [PHP] Re: Epiphany - a salute to APC

2009-07-04 Thread Eddie Drapkin
On Sun, Jul 5, 2009 at 2:43 AM, Paul Scott wrote: > Eddie Drapkin wrote: >> if you want a pure opcode cache, APC is a great choice. >> >>> you think this is similar to http://www.danga.com/memcached/ or you think >>> this method would be faster ? Which do you say would be the greatest >>> benfit ?

Re: [PHP] Re: Epiphany - a salute to APC

2009-07-04 Thread Brandon Johnson
ok thanks for information was just something I was reading about the other night. Then I came across this message. Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Epiphany - a salute to APC

2009-07-04 Thread Paul Scott
Eddie Drapkin wrote: > if you want a pure opcode cache, APC is a great choice. > >> you think this is similar to http://www.danga.com/memcached/ or you think >> this method would be faster ? Which do you say would be the greatest >> benfit ? >> A simple rule of thumb that I use is: If you have on

Re: [PHP] Re: Epiphany - a salute to APC

2009-07-04 Thread Eddie Drapkin
if you want a pure opcode cache, APC is a great choice. APC should //not// be used for persistent RAM storage. Memcached is much faster and designed for that aim, while not being tied to the webserver. On Sun, Jul 5, 2009 at 2:10 AM, Brandon Johnson wrote: > you think this is similar to http://w

[PHP] Re: Epiphany - a salute to APC

2009-07-04 Thread Brandon Johnson
you think this is similar to http://www.danga.com/memcached/ or you think this method would be faster ? Which do you say would be the greatest benfit ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] exasperated again

2009-07-04 Thread Stuart
2009/7/4 PJ : > Stuart wrote: >> 2009/7/4 PJ : >> >>> Ashley Sheridan wrote: >>> On Sat, 2009-07-04 at 10:47 -0400, PJ wrote: > Jim Lucas wrote: > > >> PJ wrote: >> >> >>> Could somebody please explain to me what is wrong with this code? >>> In my scri

Re: [PHP] exasperated again

2009-07-04 Thread PJ
Stuart wrote: > 2009/7/4 PJ : > >> Ashley Sheridan wrote: >> >>> On Sat, 2009-07-04 at 10:47 -0400, PJ wrote: >>> >>> Jim Lucas wrote: > PJ wrote: > > >> Could somebody please explain to me what is wrong with this code? >> In my

Re: [PHP] exasperated again

2009-07-04 Thread PJ
Stuart wrote: > 2009/7/4 PJ : > >> Ashley Sheridan wrote: >> >>> On Sat, 2009-07-04 at 10:47 -0400, PJ wrote: >>> >>> Jim Lucas wrote: > PJ wrote: > > >> Could somebody please explain to me what is wrong with this code? >> In my

Re: [PHP] exasperated again

2009-07-04 Thread Stuart
2009/7/4 PJ : > Ashley Sheridan wrote: >> On Sat, 2009-07-04 at 10:47 -0400, PJ wrote: >> >>> Jim Lucas wrote: >>> PJ wrote: > Could somebody please explain to me what is wrong with this code? > In my script it works, returns the correct id, but when I try it in a > test pages

Re: [PHP] exasperated again

2009-07-04 Thread PJ
Ashley Sheridan wrote: > On Sat, 2009-07-04 at 10:47 -0400, PJ wrote: > >> Jim Lucas wrote: >> >>> PJ wrote: >>> Could somebody please explain to me what is wrong with this code? In my script it works, returns the correct id, but when I try it in a test pages, nothing

Re: [PHP] exasperated again

2009-07-04 Thread Ashley Sheridan
On Sat, 2009-07-04 at 10:47 -0400, PJ wrote: > Jim Lucas wrote: > > PJ wrote: > >> Could somebody please explain to me what is wrong with this code? > >> In my script it works, returns the correct id, but when I try it in a > >> test pages, nothing in the world gets it to work. This is rather > >>

[PHP] Epiphany - a salute to APC

2009-07-04 Thread Michael A. Peters
I'd never bothered to use an opcode cache before. Sure, I had used accelerators that cached includes and stuff in ram, but damn - APC has made my site (at least on dev machine) snappy. It wasn't too bad before, but I make heavy use of the database. This is necessary for me to make maintenance

Re: [PHP] Love luxury? Buy a fashionable watch.

2009-07-04 Thread Daniel Brown
On Sat, Jul 4, 2009 at 15:47, Eddie Drapkin wrote: > I bought one, these are AWESOME. General policy on the list is not to respond to these, even as a joke. It just confirms to the jackasses who send this crap that the message was read by someone. -- daniel.br...@parasane.net || danbr...@p

Re: [PHP] exasperated again

2009-07-04 Thread PJ
Jim Lucas wrote: > PJ wrote: >> Could somebody please explain to me what is wrong with this code? >> In my script it works, returns the correct id, but when I try it in a >> test pages, nothing in the world gets it to work. This is rather >> frustrating, again: >> THIS WORKS IN ANOTHER PAGE; IN THE

Re: [PHP] Writing to a file

2009-07-04 Thread Michael A. Peters
Jason Carson wrote: Yes, I am trying to write stuff to a file with PHP but in between the tags and without deleting what is already in the file. The only way is to read the file into memory, manipulate it there, and then rewrite it. Use a regex to get rid of the last closing tag, append