Search found 2 matches

by jkmca
Wed Oct 03, 2012 9:26 pm
Forum: Tutorials
Topic: Register and Login (User Account System)
Replies: 2
Views: 883

Re: Register and Login (User Account System)

nevermind, I just added an extra step.
$exploded = explode('/', $_SERVER['SCRIPT_NAME']);
$page = substr(end($exploded), 0, -4);
If someone can explain why I had to do this, or if there is an easier way to do it, please let me know.
Thanks
by jkmca
Wed Oct 03, 2012 6:48 pm
Forum: Tutorials
Topic: Register and Login (User Account System)
Replies: 2
Views: 883

Register and Login (User Account System)

I'm fairly new to programming and am not sure what this error means. "PHP Strict Standards: Only variables should be passed by reference in /Users/user/Sites/Main/Tutorial/core/init.inc.php on line 7 Here is the line 7 that it is referring to." $page = substr(end(explode('/', $_SERVER ['SC...