03-27-2009, 02:09 AM
|
#18 (permalink)
|
|
how quixotic are you?
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
|
Quote:
|
I believe you have forgotten to include the necessary variable checks, in E_STRICT mode variables not previously set cannot be called without err.
|
Good catch, will do.
Quote:
|
The post, get, files, cookies, request functions are all rather superfluous if they've no option to clean them of sql injection or xss attacks. Also, they do not check to see if the variable is actually there. This shall cause errors in certain servers.
|
Those functions are there for forward compatibility, in other words I'm planning on adding xss filtering or something of the sort in the future.
Quote:
|
Is it my understanding that calling a variable within a class which has not been previously declared is slow then calling a variable which has already been declared but only by a slight ammount still it is best practice to declare variables you shall use.
|
OK, I'll see about that. I've developed a bad habit of not declaring variables in classes. Do you mean in the controller functions, or just in general?
Quote:
|
I'd like to check it out :) I started to when you accidentally left it un-password protected. =D
|
Sure thing
|
|
|
|