Re: Function returning but continues execution

From: Date: Tue, 23 Jan 2007 10:00:14 +0000
Subject: Re: Function returning but continues execution
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.general 
Request: Send a blank email to php-general+get-247624@lists.php.net to get a copy of this message
Jochem Maas wrote:
rewrite 'section/addfriend/will' -> 'index.php?cmd=section/addfriend&username=will' rewrite 'section/addfriend/templates/js/jquery.js' -> 'index.php?cmd=section/addfriend&username=templates/js/jquery.js'
and what's the bet that this second rewritten url is the bogey man here.
Yeah it was - the JS library was being requested and rewritten to the PHP file. Seems some data was being added to the variable in the function before it was being checked empty and so not returning false as it should have done. Thanks for everyone's help. David

« previous php.general (#247624) next »