Screens?
Screens?
Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\hcms\index.php on line 18
You're using a too old PHP version.
You can fix that by adding the explode to $page and call the first value in the array from there (if that made any sense)
PHP Code:/*Get page request*/
$page = explode('?', $_SERVER["REQUEST_URI"]);
$page = substr($page[0], 1);
if($page == '') $page = 'index';
define('PAGE', $page);
Last edited by seanrom; 31-05-13 at 10:53 PM.
OMG! Finally! I've been waiting for this all my life!
Will this cms work with BcStorm/Butterfly?
Hmm, I think it is messy. You should make a directory for your OOP classes and not initialize them inside the class file. The functions and security is very well made, I just think it's hard to read.
Last edited by azaidi; 02-06-13 at 10:32 PM.
Great. Could we see more screenshoots?![]()