Sort two coupled arrays {my solution] At 5:35 PM -0400 4/7/10, Andrew Ballard wrote: On Wed, Apr 7, 2010 at 5:02 PM, Paul M Foster <paulf(a)quillandmouse.com> wrote: Array indexes have to be unique regardless of whether they are numeric or strings. Ahhh, so you start to see the problem, eh? Let's look at the problem again (a vote collection probl... 8 Apr 2010 11:06
Sort two coupled arrays Hi gang: Here's the problem -- I want to sort and combine two arrays into one sorted array. Here's a real-world example: Array 1 ( [1] => 75 [2] => 31 [3] => 31 [4] => 31 [5] => 40 ) Array 2 ( [1] => Personal Email [2] => Personal Phone [3] => Web site ... 7 Apr 2010 19:11
stat(), NFS shares and local files timeout I am running with an issue with remote filesystems (mounted via NFS) and PHP's stat() / filemtime(). Sometimes when the remote filesystem (NFS share) is busy, my PHP daemon just hangs forever on a filemtime() call to a file inside this FS. I failed to find a proper way of setting a timeout for that kind of opera... 7 Apr 2010 11:15
Who uses Mantis, please help! On Wed, Apr 07, 2010 at 03:37:07PM +0300, Andre Polykanine wrote: Hello everyone, I decided to use Mantis before I'll be able to use something like Trac :-). The problem is: I'm not getting mail about issues reported by my testers, only by myself. The preferences are set correctly (all the checkboxe... 8 Apr 2010 17:28
Logical reason for strtotime('east') and strtotime('west') returning valid results? On a related note: does anyone know why php -r "echo date('Y-m-d H:i:s', strtotime('a'));" happily outputs a valid timestamp? And why all other letters work as well (but only one character)? I'm sure there's a good reason for it, it just completely escapes me right now :) Regards Peter -- <hype> WWW: ... 7 Apr 2010 04:37
Logical reason for strtotime('east') and strtotime('west')returning valid results? Colin Guthrie wrote: For example, I discovered that some words (or strings beginning with those words) will return false positives: e.g.: [colin(a)jimmy Search (working)]$ php -r 'var_dump(strtotime("east"));' int(1270514111) [colin(a)jimmy Search (working)]$ php -r 'var_dump(strtotime("west")... 7 Apr 2010 01:22
Logical reason for strtotime('east') and strtotime('west') returningvalid results? Hi, Long time no speak! As part of a quick filter I'm writing I try to interpret free text strings as dates and textual data. Sometimes, this goes wrong. For example, I discovered that some words (or strings beginning with those words) will return false positives: e.g.: [colin(a)jimmy Search (workin... 6 Apr 2010 13:04
problems with utf-8 conversion I have csv file with special characters, stored in default encoding(ISO-8859-1). I am convert file contents(string) to UTF-8using iconv. This doesn't convert special characters properly, shows broken on fronted. Page encoding & meta tag are properly set to utf-8. Characters are shown properly on frontend if i save fi... 6 Apr 2010 05:19
Fwd: Medical Task Force hey, i did not fake that cc header on my last mail. i just hit reply-all and added php-general because i find it significant for this list too.. and guys, i'm very very sorry to have ever used "walk over to you"-language against fellow programmers, i'll try to refrain from such behaviour in the future, but i w... 5 Apr 2010 00:46 |