Do you know tool that clean up and fix php script?

Discussion in 'PHP' started by elieobeid7, Feb 1, 2011.

  1. #1
    My boss has bought a very good script for 300$ (about something) and i have to fix it. The source code contains many files, it's written in htm, and the design is bad, anyway i'm not a web designer i don't care about the design, it's me who's gonna change it. I want a tool that converts htm to php fast and another that scans php and fix errors and debug and scan for mysql vulnerabilities and fix them to make my job easier than opening the files and do it manually.

    I found some tools but I want your opinion that's why I'm writing the Q
     
    elieobeid7, Feb 1, 2011 IP
  2. elieobeid7

    elieobeid7 Greenhorn

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #2
    I don't need a debugger actually i have many debuggers.....zend, netbeans, eclipse, dreamweaver you name it....
     
    elieobeid7, Feb 1, 2011 IP
  3. G3n3s!s

    G3n3s!s Active Member

    Messages:
    325
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #3
    Zend Studio got auto cleaner ...
     
    G3n3s!s, Feb 1, 2011 IP
  4. GreenWithEnvy

    GreenWithEnvy Active Member

    Messages:
    125
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    53
    #4
    What would be your reason for converting HTM to PHP....? I assume by HTM you simply mean HTML. Which is usually what most PHP programs output in the end... and if there are no server functions currently in your HTML (which you did not specify any) then there would be nothing to really convert.

    <b>Here is some bold text</b>

    Would simply become
    echo '<b>Here is some bold text</b>

    I guess what my post is pressing for is more details. Most of the tools you describe do not sound simple, and would most likely cost you some nice money if in existence. Security is not something you always want to rely on automation.
     
    GreenWithEnvy, Feb 1, 2011 IP
  5. elieobeid7

    elieobeid7 Greenhorn

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    well, I'm not really experienced with zend, i mainly do php on dreamweaver so i should try that then
     
    elieobeid7, Feb 1, 2011 IP
  6. elieobeid7

    elieobeid7 Greenhorn

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    @greenwithenvy well he asked me to convert it and the demo is old so the boss is asking me to convert it to php, change it completely clean it, fix it add some plugins to it and so on...If it was me who decide, I won't even touch it lol :D
     
    elieobeid7, Feb 1, 2011 IP
  7. srisen2

    srisen2 Peon

    Messages:
    359
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    i would suggest simply reviewing your code directly as php guides you to the source of the error itself as long as you have error_reporting on in your php.ini file
     
    srisen2, Feb 3, 2011 IP