Re: Function returning but continues execution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux