mikeage.net Logo
mikeage.net/tag/php/

mikeage.net @ ח׳ מרחשון תשע״ט

Posts Tagged ‘PHP’

Limitting concurrent runs in PHP

‍‍כ״ד אלול תשס״ו - Sunday, September 17th, 2006

Most PHP tasks are designed to be run concurrently, that is, several instances of the same task can run simultaneously. For example, my home page should be displayed to all viewers, even if they're trying to access it at the same time.

Other tasks, however, should only be run one at a time. For instance, an update (cron) task should probably refuse to run (or wait) if it sees another task running. Here's how to implement that.
(more…)

PHP Breadcrumbs

‍‍י״ג אלול תשס״ו - Tuesday, September 5th, 2006

I just redid the bread crumbs code on my site to handle breadcrumbs without horribly mangling links containing slashes the query string. Details below.
(more…)

Quick Map
Content +
Personal +
Archives +
Site Stuff +
RBS Weather +
Search +
Recent Images

Valid XHTML 1.1!
Screen Pge
 

Last Modified: September 04, 2006 @ 02:11 CST

Memory(TRUE): 2097152/2097152
Memory(FALSE): 3173232/3183184