![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Barterer
Industry Role:
Join Date: Aug 2004
Posts: 4,864
|
![]() I want to rename a core function, not override nor alias, but rename
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Dec 2011
Posts: 35
|
why not just make a wrapper function for it ?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Oct 2011
Location: Munich
Posts: 411
|
This. Renaming a function may cause to shit happen if some code use this function and you forgot about it. Making a wrapper is the best solution.
__________________
http://kazymjir.com/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Barterer
Industry Role:
Join Date: Aug 2004
Posts: 4,864
|
That's actually the intention kazymjir, to prevent it from being used under its original name. It is disabled in php.ini currently. I want to rename it and remove the block on it.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,223
|
That could cause problems..
If you're worried about people injecting code or something like that, why not just validate all $_GET $_POST $_COOKIE and $_SERVER variables
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Barterer
Industry Role:
Join Date: Aug 2004
Posts: 4,864
|
I think I just found a solution. Thanks though guys. This is a simple job for htaccess.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to wipe my ass
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,605
|
Yes Yes...
I can make up words too... |
![]() |
![]() ![]() ![]() ![]() ![]() |