Upload Not Working

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    in each script that gives u hassle put
    Code:
    error_reporting(E_ALL);
    ini_set("display_errors", 1);
    below
    Code:
    include("../web/config.php");
    include("../web/core.php");
    that will write every single error to the page ... no doubt with it being this source ur gonna get a lot of undefined errors... oh and by the way, undefined errors + php register globals is just asking to be hacked lol

    now when u try to upload a file you should receive more detailed errors about whats causing the file upload to fail (you will have to look through and pick out the useful errors)


    --------------

    please note:

    1. you can put that code in one of the included files such as core.php or config.php instead of at the top of each file u want to debug, make sure it goes at the top of included files though under the first starting <?php tag otherwise it may not always work as intended, this will then allow you to see errors on any page u visit rather than just on individual pages

    2. comment out or delete that code when ur done debugging, error reporting is one way hackers can check for vunerability

    Comment


      #17
      solved thanks it works

      Comment

      Working...
      X