ignace Posted August 4, 2006 Share Posted August 4, 2006 HeyProblem Number 1: I happen to use sometimes the name of functions that already exists like count(), isset(), but change them into Count(), and IsSet() now when I do this I get the problem that the parser tells me that I can not redeclare these functions, does somebody know how I can make functions case sensitive, My server is running on windows, so yes that is my first problem... :dProblem Number 2: If anybody of you is experienced in security, then please feel free to share your information with me! Or even just tell me things where I need to pay attention to! Because I know that private and public just don't do the trick...P.S.: English is not my native language, but you already knew that? Link to comment https://forums.phpfreaks.com/topic/16582-function-case-sensitivity-security/ Share on other sites More sharing options...
hitman6003 Posted August 4, 2006 Share Posted August 4, 2006 all function names are case insensitive. Why are you wanting to redefine already existing functions?For your security question, refer to this thread:http://www.phpfreaks.com/forums/index.php/topic,103005.0.htmlWhich is only about 10 threads down. Please at least make the smallest effort to do a search before asking the same question as someone else has a million times before. Link to comment https://forums.phpfreaks.com/topic/16582-function-case-sensitivity-security/#findComment-69392 Share on other sites More sharing options...
ignace Posted August 4, 2006 Author Share Posted August 4, 2006 effort? I created that word!! And I already readed that topic, check my post!! However your answer is not really on-topic, unless you mean all functions are case insensitive is the best answer you can come up with! I wanna know how I can make it case sensitive! And then why I want to redeclare them? because I use them in OO. And when I want a certain count I don't gonna declare my function as: giveMeTheTotalNumber(); Link to comment https://forums.phpfreaks.com/topic/16582-function-case-sensitivity-security/#findComment-69394 Share on other sites More sharing options...
hitman6003 Posted August 4, 2006 Share Posted August 4, 2006 [quote]I wanna know how I can make it case sensitive![/quote]You can't...at least not without core php hacking, and that's a lot of trouble when you can simply rename your functions to something like:[code]function ignace_isset($var1) { ...}[/code] Link to comment https://forums.phpfreaks.com/topic/16582-function-case-sensitivity-security/#findComment-69397 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.