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
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
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 == "/
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
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
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
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
7 matches
Mail list logo