Php Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vapid - BANNED FOR LIFE
    Barterer
    • Aug 2004
    • 4864

    #1

    Php Question

    I want to rename a core function, not override nor alias, but rename
  • orion4bbw
    Confirmed User
    • Dec 2011
    • 35

    #2
    why not just make a wrapper function for it ?

    Comment

    • kazymjir
      Confirmed User
      • Oct 2011
      • 411

      #3
      Originally posted by orion4bbw
      why not just make a wrapper function for it ?
      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/

      Comment

      • Vapid - BANNED FOR LIFE
        Barterer
        • Aug 2004
        • 4864

        #4
        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.

        Comment

        • Colmike9
          (>^_^)b
          • Dec 2011
          • 7230

          #5
          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
          Join the BEST cam affiliate program on the internet!
          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..

          Comment

          • Vapid - BANNED FOR LIFE
            Barterer
            • Aug 2004
            • 4864

            #6
            I think I just found a solution. Thanks though guys. This is a simple job for htaccess.

            Comment

            • CurrentlySober
              Too lazy to wipe my ass
              • Aug 2002
              • 38941

              #7
              Yes Yes...

              I can make up words too...


              👁️ 👍️ 💩

              Comment

              • fris
                Too lazy to set a custom title
                • Aug 2002
                • 55679

                #8
                i could always recompile php with your function in its place ;)
                Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.

                Comment

                Working...