Re: [PHP] Contribute to PHP

2012-07-11 Thread Matijn Woudt
On Thu, Jul 12, 2012 at 8:45 AM, Ziad Jammal wrote: > Deal all phpiers, > > It took me a while before I hit the send key. > I have been a php developer for some time and I got certified beginning of > this year. > I have always wanted to start contributing to php and zend framework, but I > am u

[PHP] Contribute to PHP

2012-07-11 Thread Ziad Jammal
Deal all phpiers, It took me a while before I hit the send key. I have been a php developer for some time and I got certified beginning of this year. I have always wanted to start contributing to php and zend framework, but I am unable to find the right docs, examples, and the "how". I know it

Re: [PHP] Re: Find match of string if only at end of string

2012-07-11 Thread ma...@behnke.biz
tamouse mailing lists hat am 11. Juli 2012 um 19:13 geschrieben: > On Wed, Jul 11, 2012 at 11:45 AM, Marc Guay wrote: > > Answered it myself (funny how writing out a problem as descriptively > > as possible makes the brain work better). > > > > $end_of_url = substr("http://domain.com/about/pa

Re: [PHP] [PHP-DEV] SQLite - Unwanted values using group-by

2012-07-11 Thread Matijn Woudt
On Wed, Jul 11, 2012 at 1:45 AM, Simon Schick wrote: > On Sun, Jul 8, 2012 at 12:33 AM, Matijn Woudt wrote: >> >> Both of the results are valid outcomes. I think you don't understand >> the GROUP BY clause well enough. The parameters in the SELECT clause, >> should be either >> 1) an aggregate fu

Re: [PHP] Re: Find match of string if only at end of string

2012-07-11 Thread tamouse mailing lists
On Wed, Jul 11, 2012 at 11:45 AM, Marc Guay wrote: > Answered it myself (funny how writing out a problem as descriptively > as possible makes the brain work better). > > $end_of_url = substr("http://domain.com/about/page/subpage/";, > strlen("/about/page/") * -1); > $same_post = ($end_of_url == "/

[PHP] Re: Find match of string if only at end of string

2012-07-11 Thread Marc Guay
Answered it myself (funny how writing out a problem as descriptively as possible makes the brain work better). $end_of_url = substr("http://domain.com/about/page/subpage/";, strlen("/about/page/") * -1); $same_post = ($end_of_url == "/about/page/"); -- PHP General Mailing List (http://www.php.ne

[PHP] Find match of string if only at end of string

2012-07-11 Thread Marc Guay
Hi folks, I'm trying to compare two strings in order to determine whether or not the site is just switching languages on the same page or whether the link is pointing to an entirely different page. Things were fine until I realized I was getting false positives for subpages, where the URLs matche