php-general Digest 11 Jul 2012 16:39:38 - Issue 7883
Topics (messages 318418 through 318424):
Re: Session Checking
318418 by: Tedd Sperling
Re: Quem esta por dentro de PSR?
318419 by: Daniel Brown
318420 by: Volmar Machado
318421 by: Daniel Brown
Re: exec
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
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.net/)
On Wed, Jul 11, 2012 at 11:45 AM, Marc Guay marc.g...@gmail.com 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 =
On Wed, Jul 11, 2012 at 1:45 AM, Simon Schick simonsimc...@gmail.com wrote:
On Sun, Jul 8, 2012 at 12:33 AM, Matijn Woudt tijn...@gmail.com 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
5 matches
Mail list logo