Re: [PHP] slicing and dicing strings

2012-06-28 Thread Geoff Shang
On Wed, 27 Jun 2012, tamouse mailing lists wrote: RTFM with no hint of where to look is a problem. But the dictum of Read here in the manual will surely be the best thing. You will then know where to look for future questions. Personally, I've got better things to do with my time than spend

RE: [PHP] slicing and dicing strings

2012-06-28 Thread admin
-Original Message- From: Geoff Shang [mailto:ge...@quitelikely.com] Sent: Thursday, June 28, 2012 5:12 AM To: php-general@lists.php.net Subject: Re: [PHP] slicing and dicing strings On Wed, 27 Jun 2012, tamouse mailing lists wrote: RTFM with no hint of where to look is a problem. But

RE: [PHP] Can I do this in a single match/replace?

2012-06-28 Thread Ford, Mike
-Original Message- From: Paul Halliday [mailto:paul.halli...@gmail.com] Sent: 28 June 2012 02:27 Using preg_match and this pattern I can get the refs: $pattern = '\reference:url,([^;]+;)\'; which gives me: $matches[0] = www.ndmp.org/download/sdk_v4/draft-skardal-ndmp4-

[PHP] Re: slicing and dicing strings

2012-06-28 Thread Shailesh N. Humbad
On 6/27/2012 6:15 PM, Kirk Bailey wrote: ok, it slices and dices, but how? in python, to print all but the last char in string FOO, we say print FOO[:-1] But this seems to bark like a basset hound in php. Whyfore? Now tihs tyro is seeking sage words to help me understand this. RTFM is not sage

[PHP] Re: slicing and dicing strings

2012-06-28 Thread Ian
RTFM is not sage words; if you don't want to help me please don't waste the bandwidth. Hi, Seeing as you are using Windows, why not download the manual as a handy Windows Help File (CHM), that way you wont waste bandwidth online every time you get stumped.

[PHP] php batch/queue framwork

2012-06-28 Thread Tom Sparks
I am looking for a batch/queue framework that is database-centric? I could write my own, but I want one that is mature tom_a_sparks It's a nerdy thing I like to do -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] slicing and dicing strings

2012-06-28 Thread Daniel Brown
On Wed, Jun 27, 2012 at 6:15 PM, Kirk Bailey kbai...@howlermonkey.net wrote: ok, it slices and dices, but how? in python, to print all but the last char in string FOO, we say print FOO[:-1] But this seems to bark like a basset hound in php. Whyfore? It is a longer syntax which, in

[PHP] Depreciation message I can't make out....

2012-06-28 Thread Gary Lebowitz
Hi, I am running Moodle 2.2.3 and using PHP 5.3 on a Linux server with GoDaddy and am getting the message about depreciation after having typed the following command into their cron job manager: /web/cgi-bin/php5_3 $HOME/html/moodle223a/admin/cli/cron.php PHP Deprecated: Comments starting

[PHP] Re: Depreciation message I can't make out....

2012-06-28 Thread Jim Giner
Gary Lebowitz gurqi...@gmail.com wrote in message news:cafbvbik1ga9eyxkstpshxk+ddfax0fqoy-gnpdymfl_26_g...@mail.gmail.com... Hi, I am running Moodle 2.2.3 and using PHP 5.3 on a Linux server with GoDaddy and am getting the message about depreciation after having typed the following command

Re: [PHP] Depreciation message I can't make out....

2012-06-28 Thread Camilo Sperberg
According to what i can understand from that message is that you have line(s) starting with # in your php.ini file. A proper ini file should use ; as the beginning from a comment. Check the given file at the given line and change the first # symbol into a ; one. Greetings. Sent from my

Re: [PHP] Depreciation message I can't make out....

2012-06-28 Thread Daniel Brown
On Thu, Jun 28, 2012 at 1:44 PM, Gary Lebowitz gurqi...@gmail.com wrote: Hi, I am running Moodle 2.2.3 and using PHP 5.3 on a Linux server with GoDaddy and am getting the message about depreciation after having typed the following command into their cron job manager:  /web/cgi-bin/php5_3

[PHP] Re: php batch/queue framwork

2012-06-28 Thread Shailesh N. Humbad
On 6/28/2012 11:58 AM, Tom Sparks wrote: I am looking for a batch/queue framework that is database-centric? I could write my own, but I want one that is mature tom_a_sparks It's a nerdy thing I like to do You could try Amazon Simple Queue Service: http://aws.amazon.com/sqs/ Use the PHP SDK:

[PHP] Is there a way to customize the 'Username' and 'Password' strings in a 401 auth dialog box?

2012-06-28 Thread Daevid Vincent
Is there a way to customize the 'Username' and 'Password' strings in a 401 auth dialog box? I want to change mine to say Webmaster ID and Authentication Key. http://php.net/manual/en/features.http-auth.php

Re: [PHP] Depreciation message I can't make out....

2012-06-28 Thread tamouse mailing lists
On Thu, Jun 28, 2012 at 1:00 PM, Daniel Brown danbr...@php.net wrote:  PHP Deprecated:  Comments starting with '#' are deprecated in /web/conf/php5.ini on line 1256 in Unknown on line 0    Comment-out, using semicolons (;), any comments in your /web/conf/php5.ini file that begin with the

Re: [PHP] What's happened to our newsgroup?

2012-06-28 Thread tamouse mailing lists
On Wed, Jun 27, 2012 at 9:42 AM, Tedd Sperling t...@sperling.com wrote: On Jun 26, 2012, at 3:21 PM, Al n...@ridersite.org wrote: No postings for days. Maybe everyone learned it -- no new questions. Cheers, tedd We now all have php.net open all the time so no more questions need to be

Re: [PHP] What's happened to our newsgroup?

2012-06-28 Thread Daniel Fenn
Or everyone is on holiday for php :P On Fri, Jun 29, 2012 at 10:43 AM, tamouse mailing lists tamouse.li...@gmail.com wrote: On Wed, Jun 27, 2012 at 9:42 AM, Tedd Sperling t...@sperling.com wrote: On Jun 26, 2012, at 3:21 PM, Al n...@ridersite.org wrote: No postings for days. Maybe

Re: [PHP] What's happened to our newsgroup?

2012-06-28 Thread Jay Blanchard
[snip] We now all have php.net open all the time so no more questions need to be asked! : [/snip] You mean everyone finally RTFM? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is there a way to customize the 'Username' and 'Password' strings in a 401 auth dialog box?

2012-06-28 Thread David OBrien
On Thu, Jun 28, 2012 at 7:23 PM, Daevid Vincent dae...@daevid.com wrote: Is there a way to customize the 'Username' and 'Password' strings in a 401 auth dialog box? I want to change mine to say Webmaster ID and Authentication Key. http://php.net/manual/en/features.http-auth.php This