-
The login mechanism depends on a token. Since the app is small enough, I could simply add a global dictionary that maps auth tokens and users. In the spirit of good practices I wouldn't want to do tha…
-
https://github.com/fuel/core/blob/1.8/develop/classes/request.php#L410
The code above says that when you define a router, it gets handed the request and any params to it. But the documentation says i…
-
https://www.google.co.jp/search?q=mysqlworkbench+ER&safe=off&espv=2&biw=1020&bih=639&tbm=isch&source=lnms&sa=X&ei=dz_UVIzHNaTUmgX37oCYAw&ved=0CAkQ_AUoAg&dpr=1
-
PHP is a loosely typed language, and that makes it more malleable, but can also lead to more bugs. Native PHP 5 allows for type hinting for objects, arrays, and the like, but it doesn't allow for nati…
-
\Session::rotate() offers excellent protection from session hijacking when used, but it does have one problem that it can't solve. If an attacker gets hold of a session cookie from an account holder w…
-
When i use rawQuery function with some comparison operators like > , >= etc, it is getting removed because of the FILTER_SANITIZE_STRING filtering.
Eg:$results = $db->rawQuery("SELECT \* FROM locati…
-
Now that data/ is under version control, the output of `joe ls` includes the .git file and neglects all of the .gitignore files within data/Global.
``` bash
$ joe ls
.git, actionscript, ada, agda, an…
-
Hi,
I fear when I say this. But as php the right way at-least we should not link to libraries which have not being released a stable version.
We can always link once they release a stable version.
…
-
When you use namespaced controllers, Controller_Rest does not recognize the $this->response property as valid as it's apparently out of scope when calling it from \Modulename\Controller\Classname. To …
-
I'm seeing a weird set of errors from my site running in a vagrant vm under hhvm. I haven't done any tweaking of the hhvm configs, it's just a stock install of hhvm-fastcgi in place of php-fpm.
This …