1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Website coding help (PHP HTML)

Discussion in 'Computers & Technology' started by VIpEr, Apr 10, 2014.

  1. VIpEr
    Offline

    VIpEr Veteran Member
    Donator

    Joined:
    Dec 15, 2012
    Messages:
    1,546
    Likes Received:
    72
    Hello all,

    Both myself and my collegue have an annoying problem when coding websites. We use filezilla to upload to the web server, but for example if I need to download a PHP file from it to edit it, when I open it in Notepad it its all bunched together. Like this:

    [​IMG]

    Now obviously we want it download with all the indents in place so we follow the coding and find things easily, and to do this we must open the notepad (php) file in Wordpad first, then hit CTRL+S to save it, then it opens as normal as you can see below which is what it should be.

    [​IMG]

    Can anyone help with this problem or have any suggestions? We just want to download files straight from the server open them and start editing without having to open wordpad and save first..

    Thanks!
     
    #1
  2. Arya
    Offline

    Arya Veteran Member
    Retired Member

    Joined:
    Aug 11, 2013
    Messages:
    1,532
    Likes Received:
    630
    Don't think you can open such a file and have the indent immediately in Notepad. I set up Dreamweaver or Netbeans as standard to open such files. There is a shortcut key in those programs so you can have the indent immediately if it isn't place in the correct form already.

    Btw, imo it's easier to work in those programs as they have an intellicense that helps you while coding :)
     
    #2
  3. Kill
    Offline

    Kill Veteran Member
    Donator

    Joined:
    May 24, 2013
    Messages:
    1,269
    Likes Received:
    178
    Use Notepad++. You need to configure it to edit .php .html etc files. It's 5 sec's.
    As You use Filezilla, configure it too, to use Notepad++ as it's default editor, this way, you just edit, save, and confirm in Filezilla.
     
    #3
    • Like Like x 2
    • Useful Useful x 1
  4. Nomy
    Offline

    Nomy Administrator
    Super Admin ]HeLL[ Member

    Joined:
    Oct 11, 2010
    Messages:
    35,883
    Likes Received:
    3,688
    Notepad++ knows how to read those return and tab characters from both windows and Linux.

    It also provide syntax highlighting like Dreamweaver.
     
    #4
    • Like Like x 1
    • Agree Agree x 1
    • Useful Useful x 1
  5. VIpEr
    Offline

    VIpEr Veteran Member
    Donator

    Joined:
    Dec 15, 2012
    Messages:
    1,546
    Likes Received:
    72
    Ill give Notepad++ a try.

    Thank you!
    --- Double Post Merged, Apr 10, 2014, Original Post Date: Apr 10, 2014 ---
    Works perfectly thank you Kill and Nomy! :)
     
    #5
  6. Kill
    Offline

    Kill Veteran Member
    Donator

    Joined:
    May 24, 2013
    Messages:
    1,269
    Likes Received:
    178
    You welcome mate!
     
    #6
  7. PixelGnome
    Offline

    PixelGnome Member

    Joined:
    Aug 31, 2013
    Messages:
    109
    Likes Received:
    15
    Go to notepad ++ or sublime text editor
     
    #7
  8. Nomy
    Offline

    Nomy Administrator
    Super Admin ]HeLL[ Member

    Joined:
    Oct 11, 2010
    Messages:
    35,883
    Likes Received:
    3,688
    6 months off.. not bad...
     
    #8
    • Funny Funny x 6
    • Like Like x 1
  9. PixelGnome
    Offline

    PixelGnome Member

    Joined:
    Aug 31, 2013
    Messages:
    109
    Likes Received:
    15
    i know :D But atleast i helped someone out there right?
     
    #9