Re: [PHP] Queuing servers

2010-12-02 Thread Alister Bulman
On Thu, Dec 2, 2010 at 10:10 PM, la...@garfieldtech.com wrote: > Hi folks. > > I have a project coming up where I will need to process a bazillion (OK, a > few million) records, possibly with multiple steps.  (In this case I'm > reading data from one data archive into an Apache Solr server.)  This

Re: [PHP] Array difficulty

2007-07-31 Thread Alister Bulman
On 31/07/07, Carlton Whitehead <[EMAIL PROTECTED]> wrote: >> Couldn't you just do >> arsort($chance); >> $lastItem = chance[( count( $chance ) - 1 )]; > I tried that earlier, but the problem is: > count( $chance ) - 1 ); returns an integer, so I would be asking for > something like $chance[1] or

Re: [PHP] Include???

2007-05-23 Thread Alister Bulman
On 23/05/07, Dan Shirah <[EMAIL PROTECTED]> wrote: Okay, I think I'm doing everything right, but for whatever reason my include isn't working. if ($_POST['status_code'] = "C") { It's a pretty classic error, Not one that I make very often though - because I will generally write: if ('C' = $_POS

Re: [PHP] Question

2007-05-15 Thread Alister Bulman
On 13/05/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Sat, 2007-05-12 at 23:03 -0500, Richard Lynch wrote: > You may find this entertaining, and even useful: > http://richardlynch.blogspoot.com I'm sure Richard meant http://richardlynch.blogspot.com Unless he's trying to promote bond

Re: [PHP] Selecting a special row from the database

2007-05-04 Thread Alister Bulman
On 04/05/07, Marcelo Wolfgang <[EMAIL PROTECTED]> wrote: I'm building a news display page for a website, and since the user has 2 ways to arrive there, I want to know if this is possible: 1) the user arrive at news.php I will run a query at the db, and get the latest news to be the main one

Re: [PHP] Appending into associative arrays

2007-04-15 Thread Alister Bulman
On 15/04/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Sun, 2007-04-15 at 20:36 +0100, Alister Bulman wrote: > On 15/04/07, Zoltán Németh <[EMAIL PROTECTED]> wrote: > > 2007. 04. 15, vasárnap keltezéssel 21.20-kor Otto Wyss ezt írta: > > > I want to so

Re: [PHP] Appending into associative arrays

2007-04-15 Thread Alister Bulman
On 15/04/07, Zoltán Németh <[EMAIL PROTECTED]> wrote: 2007. 04. 15, vasárnap keltezéssel 21.20-kor Otto Wyss ezt írta: > I want to sort directories according there modification time and thought > accociative arrays would be perfect. But when I add an element like > > $dirs = array (filemtime($d)

Re: [PHP] File extension for PHP's serialization format?

2006-10-27 Thread Alister Bulman
On 27/10/06, Stut <[EMAIL PROTECTED]> wrote: Hamish Lawson wrote: > I have a web application (not written in PHP) that can return data in > various formats, including JSON and PHP's serialization format. At the > moment my URL scheme looks like this: > staff/engineering?format=json > but I'd

Re: [PHP] PHP and mySQL getting smashed...

2006-05-17 Thread Alister Bulman
On 17/05/06, Dave Goodchild <[EMAIL PROTECTED]> wrote: I have a site that is getting 30K+ traffic daily and it is smashing mySQL - > any ideas on what to do to make the mysql connections more efficient, or > anything in general. No bandwidth issue here, just the server getting > killed. > > ...I

Re: [PHP] Multi-threaded port listener

2006-04-28 Thread Alister Bulman
On 28/04/06, René Fournier <[EMAIL PROTECTED]> wrote: Anyone find any good tutorials, code samples, etc. on such a thing? Basically, I want to write server (in PHP) that listeners on a particular port, and spins off a thread/process (essentially, execute a separate script) for each incoming conne

Re: [PHP] Common Files

2006-04-16 Thread Alister Bulman
On 16/04/06, Jochem Maas <[EMAIL PROTECTED]> wrote: > Shaun wrote: > > Hi, > > > > We have a dedicated UNIX server running FreeBSD, is it possible to set a > > directory where we can place a set of common files that can be used by all > > of our web sites? > also check out PEAR (pear.php.net) whic

Re: [PHP] Why Should I Use Zend Optimizer?

2006-03-27 Thread Alister Bulman
On 27/03/06, Jonathan Duncan <[EMAIL PROTECTED]> wrote: > I posted this on the Zend.com forums but have not been able to get a > response yet. So I decided to ask the people that know. > > I do not understand the need for an optimizer. What exactly is Zend > Optimizer optimizing? If it is changi

Re: [PHP] Optimizing Tips

2004-08-05 Thread Alister Bulman
On Thu, 5 Aug 2004 16:17:34 +0530, Vinayakam Murugan <[EMAIL PROTECTED]> wrote: > I am a fresh PHP programmer and am part of a team developing a LAMP based > website. The problem we are facing is that when the site was hosted on a > local server, it was quite fast. Now that we have to use the inter

Re: [PHP] Multipart Email Problem

2004-06-24 Thread Alister Bulman
On Thu, 24 Jun 2004 12:27:17 +0100, Matt MacLeod <[EMAIL PROTECTED]> wrote: > > I have a script that sends a multipart email from a php page. > > The script appears to work fine on my mail client (Mail on Mac OSX) and > on an online email reader (mail2web.com). > > However a colleague using Outl