why does notepad mangle my php files

Discussion in 'BlackHat Lounge' started by Website, Aug 11, 2009.

  1. Website

    Website Supreme Member

    Joined:
    Feb 8, 2008
    Messages:
    1,291
    Likes Received:
    286
    Location:
    whitehouse
    I have a php file and whenever I save it for some reason notepad mangles it such that it is a blob of text, thus destroying the code. Why does this happen & how to fix it?

    but just now when I disabled wordwrap it doesn't have this problem
     
    Last edited: Aug 11, 2009
  2. S M W

    S M W Junior Member

    Joined:
    May 8, 2009
    Messages:
    135
    Likes Received:
    49
    Try notepad++

    it's free and I think it's a great tool.
     
  3. phpfiend

    phpfiend Junior Member

    Joined:
    Apr 12, 2009
    Messages:
    172
    Likes Received:
    102
    Occupation:
    Web Dev and IM
    you could also do a search on sourceforge for open source html editors. I know there are a few out there that may assist you.
     
  4. hawke

    hawke Power Member

    Joined:
    Nov 14, 2008
    Messages:
    644
    Likes Received:
    534
    Location:
    Ohio
    Uncheck "word wrap" in the Format menu ;)
     
  5. ___________

    ___________ Junior Member

    Joined:
    Nov 19, 2008
    Messages:
    133
    Likes Received:
    52
    Occupation:
    Student
    Location:
    California
    You are probably saving the text to a different type of file format or using word wrap.
     
  6. weaselstomp

    weaselstomp Registered Member

    Joined:
    Oct 29, 2008
    Messages:
    86
    Likes Received:
    450
    Location:
    Florida