if (version_compare(phpversion(), '5.0.0', '>=') !== true) {
exit('This website runs with PHP5... You version is <b>' . phpversion() . '</b>.Please upgrade');
}
Showing posts with label check. Show all posts
Showing posts with label check. Show all posts
Wednesday, October 2, 2013
PHP-Version Check code
Sunday, June 9, 2013
Cakephp->check if there was a referrer page/last page
Cakephp check for a last page/redirect to last page
if($this->reffrrer()!='/') { $this->redirect(); }$this->reffrrer()
This works in controller
Tuesday, July 3, 2012
Subscribe to:
Posts (Atom)