Strict Standards: Only variables should be passed by reference in
i have this error in this line...
$page = substr(end(explode('/', $_SERVER['SCRIPT_NAME'])), 0, -4);
Strict Standards Error...
- louiegiezer
- Posts: 57
- Joined: Fri Oct 21, 2011 11:31 am
- Contact:
Re: Strict Standards Error...
Does the error completely disrupt the functionality of the script or can it be ignored?
(I'm not quite sure what the error means but it doesn't sound very important tbh :3 )
(I'm not quite sure what the error means but it doesn't sound very important tbh :3 )
- louiegiezer
- Posts: 57
- Joined: Fri Oct 21, 2011 11:31 am
- Contact:
Re: Strict Standards Error...
the script works fine....
but they appear that line in all pages...
but they appear that line in all pages...
Re: Strict Standards Error...
Well then.
Just put
See how it goes.
Just put
error_reporting(E_ERROR);near the top of all pages doing that.
See how it goes.
- louiegiezer
- Posts: 57
- Joined: Fri Oct 21, 2011 11:31 am
- Contact:
Re: Strict Standards Error...
well i actually do that... it fix the error... but what is that? is it a problem of the script? or something?....
Re: Strict Standards Error...
It may have been because you had used a super-global instead of a standard variable.
If you want to know more it would pay to Google it.
If you want to know more it would pay to Google it.
- louiegiezer
- Posts: 57
- Joined: Fri Oct 21, 2011 11:31 am
- Contact:
Re: Strict Standards Error...
ohh i.c
anyway thanks dude...
anyway thanks dude...