Dingo Framework - ALPHA Testing Open!
View Single Post
03-27-2009, 02:09 AM
how quixotic are you?
Join Date: Dec 2007
Location: Lapeer, MI
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.
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.
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?
I'd like to check it out :) I started to when you accidentally left it un-password protected. =D
Dingo Web Systems >
My Website >
View Public Profile
Send a private message to ETbyrne
Visit ETbyrne's homepage!
Find More Posts by ETbyrne