php-general Digest 4 Sep 2012 06:17:03 -0000 Issue 7950

2012-09-04 Thread php-general-digest-help
php-general Digest 4 Sep 2012 06:17:03 - Issue 7950 Topics (messages 318958 through 318978): Re: load rtf file 318958 by: David OBrien 318971 by: Tedd Sperling 318972 by: Micky Hulse 318976 by: tamouse mailing lists ksort by value 318959 by: John

Re: [PHP] templeting

2012-09-04 Thread Louis Huppenbauer
2012/9/4 tamouse mailing lists tamouse.li...@gmail.com On Mon, Sep 3, 2012 at 8:49 PM, David McGlone da...@dmcentral.net wrote: On Monday, September 03, 2012 09:45:23 PM David OBrien wrote: On Sep 3, 2012 9:15 PM, David McGlone da...@dmcentral.net wrote: Does anyone use any templeting

Re: [PHP] templeting

2012-09-04 Thread Simon Schick
On Tue, Sep 4, 2012 at 8:16 AM, Louis Huppenbauer louis.huppenba...@gmail.com wrote: I'm mostly working with twig, a symfony2 framework component. I especially like it's template inheritance and the (in my opinion) very clear syntax. http://twig.sensiolabs.org/ Hi, all I most like to use

Re: [PHP] templeting

2012-09-04 Thread Lester Caine
tamouse mailing lists wrote: I've used smarty in the past and was thinking about that, but PEAR is absolete anymore and I don't really know of a good replacement. :-/ I use Smarty as well, but I've never used it from PEAR. I just use the version downloadable fromhttp://www.smarty.net I'm

[PHP] array.sorting.php

2012-09-04 Thread John Taylor-Johnston
Hi, Sorting question. http://www.php.net/manual/en/array.sorting.php I'm using ksort, which sorts like this. I don't want to use strolower. Is there a function/switch in one of the sort functions where I could get another aphabetical sort? http://www.php.net/manual/en/array.sorting.php has a

Re: [PHP] array.sorting.php

2012-09-04 Thread David OBrien
On Tue, Sep 4, 2012 at 1:15 PM, John Taylor-Johnston jt.johns...@usherbrooke.ca wrote: Hi, Sorting question. http://www.php.net/manual/en/**array.sorting.phphttp://www.php.net/manual/en/array.sorting.php I'm using ksort, which sorts like this. I don't want to use strolower. Is there a

Re: [PHP] array.sorting.php

2012-09-04 Thread John Taylor-Johnston
The problem is I'm sorting the key. The alphabetical thing is in the key. David OBrien wrote: On Tue, Sep 4, 2012 at 1:15 PM, John Taylor-Johnston jt.johns...@usherbrooke.ca mailto:jt.johns...@usherbrooke.ca wrote: Hi, Sorting question.

[PHP] PHP CURL JSON POST Firebug

2012-09-04 Thread ioan...@btinternet.com
I am hoping someone can spot what is missing here. I am getting null result from curl-ing a page with json post variables. I try this url in my Firefox browser - http://www.targetsite.com/search.php#somevar.someothervar (#somevar.someothervar are irrelevant, I think, as I get the curl

Re: [PHP] array.sorting.php

2012-09-04 Thread Matijn Woudt
On Tue, Sep 4, 2012 at 7:23 PM, John Taylor-Johnston jt.johns...@usherbrooke.ca wrote: The problem is I'm sorting the key. The alphabetical thing is in the key. David OBrien wrote: Taken from the natsort manual page comments: ?php /** * keyNatSort does a natural sort via key on the supplied

Re: [PHP] array.sorting.php

2012-09-04 Thread John Taylor-Johnston
David OBrien wrote: On Tue, Sep 4, 2012 at 1:15 PM, John Taylor-Johnston jt.johns...@usherbrooke.ca mailto:jt.johns...@usherbrooke.ca wrote: Hi, Sorting question. http://www.php.net/manual/en/array.sorting.php I'm using ksort, which sorts like this. I don't want to use

Re: [PHP] PHP CURL JSON POST Firebug

2012-09-04 Thread Matijn Woudt
On Tue, Sep 4, 2012 at 7:35 PM, ioan...@btinternet.com ioan...@btinternet.com wrote: I am hoping someone can spot what is missing here. I am getting null result from curl-ing a page with json post variables. I try this url in my Firefox browser -

Re: [PHP] array.sorting.php

2012-09-04 Thread Stuart Dallas
http://php.net/uksort -- Sent from my leaf blower On 4 Sep 2012 18:39, John Taylor-Johnston jt.johns...@usherbrooke.ca wrote: David OBrien wrote: On Tue, Sep 4, 2012 at 1:15 PM, John Taylor-Johnston jt.johns...@usherbrooke.ca mailto:jt.johnston@**usherbrooke.cajt.johns...@usherbrooke.ca

Re: [PHP] array.sorting.php

2012-09-04 Thread Matijn Woudt
On Tue, Sep 4, 2012 at 7:38 PM, John Taylor-Johnston jt.johns...@usherbrooke.ca wrote: David OBrien wrote: On Tue, Sep 4, 2012 at 1:15 PM, John Taylor-Johnston jt.johns...@usherbrooke.ca mailto:jt.johns...@usherbrooke.ca wrote: Hi, Sorting question.

Re: [PHP] PHP CURL JSON POST Firebug

2012-09-04 Thread ioan...@btinternet.com
On 04/09/2012 18:41, Matijn Woudt wrote: On Tue, Sep 4, 2012 at 7:35 PM, ioan...@btinternet.com ioan...@btinternet.com wrote: I am hoping someone can spot what is missing here. I am getting null result from curl-ing a page with json post variables. I try this url in my Firefox browser -

Re: [PHP] templeting

2012-09-04 Thread Adam Richardson
On Mon, Sep 3, 2012 at 9:14 PM, David McGlone da...@dmcentral.net wrote: Does anyone use any templeting system for any projects? If so what would anyone recommend? I looked at Code Ignitor, but it seems the templeting system is optional and left out by default. -- Regards David M. Well,

Re: [PHP] array.sorting.php

2012-09-04 Thread Matijn Woudt
On Tue, Sep 4, 2012 at 9:20 PM, John Taylor-Johnston jt.johns...@usherbrooke.ca wrote: Here is my code: ---snip--- $mynewstring = http://foo.com/bigtextfile.txt;; $words = preg_split('/[[:space:]]+/',$mynewstring); foreach ($words as $word) {

Re: [PHP] array.sorting.php

2012-09-04 Thread John Taylor-Johnston
Matijn Woudt wrote: Taken from the natsort manual page comments: ?php /** * keyNatSort does a natural sort via key on the supplied array. * * @param $array The array to natural sort via key. * @param $saveMemory If true will delete values from the original array as it builds the

Re: [PHP] array.sorting.php

2012-09-04 Thread Matijn Woudt
On Tue, Sep 4, 2012 at 9:33 PM, John Taylor-Johnston jt.johns...@usherbrooke.ca wrote: Matijn Woudt wrote: Taken from the natsort manual page comments: ?php /** * keyNatSort does a natural sort via key on the supplied array. * * @param $array The array to natural sort via key.