How to edit php pages similar to editing html files

Discussion in 'PHP' started by Aatma, Nov 9, 2008.

  1. #1
    I am familiar with editing of html files in frontpage to make modifications in fonts, change or add text, tables etc.
    But what is the easiest way to do so for php pages.
    For example how can someone edit fonts, table colours, add banner codes etc. on different pages of a script based site like
    http://www.naukrijobsindia.com/
    There are no html paged to edit! so editing php is only choice.
    Is there any free or paid WYSIWUG editor for php pages similar to frontpage?
    Help please.
     
    Aatma, Nov 9, 2008 IP
  2. kampang

    kampang Member

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    WYSIWYG (What-You-See-Is-What-You-Ge) Web Builder :D

    Download
    http://rapidshare.com/files/161382010/WYSIWYG_Web_Builder_5.5.4.rar
    Code (markup):
     
    kampang, Nov 9, 2008 IP
  3. diytechblog

    diytechblog Peon

    Messages:
    40
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There is always some html mixed in there somewhere. You just need to dig in and find it. That being said, most of your attributes will be in you CSS file. So that's where I would start.
     
    diytechblog, Nov 9, 2008 IP
  4. Aatma

    Aatma Well-Known Member

    Messages:
    1,233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    130
    #4
    Thanks kampang and diytechblog. I have started digging using what you guys recommended.
     
    Aatma, Nov 9, 2008 IP
  5. Aatma

    Aatma Well-Known Member

    Messages:
    1,233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    130
    #5
    seems more for html than php, no?
     
    Aatma, Nov 9, 2008 IP
  6. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #6
    use a text editor to edit php files.
    website builders will only screw up the php code.

    anyways this question should be here, better suited in the php forum.
     
    sawz, Nov 9, 2008 IP
  7. anthonygj

    anthonygj Peon

    Messages:
    61
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Try PsPad ----> www*pspad*com

    Features:

    * work with projects
    * work with several documents at the same time (MDI)
    * save desktop sessions to later reopen all session files
    * FTP client - edit files directly from the web
    * macro recorder to record, save and load macros
    * search and replace in files
    * text difference with color-coded differences highlighted
    * templates (HTML tags, scripts, code templates...)
    * installation contains templates for HTML, PHP, Pascal, JScript, VBScript, MySQL, MS-Dos, Perl,...
    * syntax highlighting according to file type
    * user-defined highlighters for exotic environments
    * auto correction
    * intelligent internal HTML preview using IE and Mozilla
    * full HEX editor
    * call different external programs for different environments
    * external compiler with output catcher, log window and log parser for an "IDE" effect in every environment
    * color syntax highlight printing and print preview
    * integrated TiDy library for formatting and checking HTML code, conversion to CSS, XML, XHTML
    * integrated free version of the top CSS editor TopStyle Lite
    * export with highlight to RTF, HTML, TeX format to file or clipboard
    * column block select, bookmarks, line numbers, ...
    * reformat and compress HTML code, tag character case change
    * line sorting with ability to sort on defined columns and drop duplicates
    * ASCII chart with HTML entities
    * Code explorer for Pascal, C/C++, INI, HTML, XML, PHP and more in development
    * spell checker
    * internal web browser with APACHE support
    * matching bracket highlighting
    * ...(many more features, too numerous to list)



    have been using this for quite some time now and works fine for me. It Does the basics of what your asking for.
     
    anthonygj, Nov 9, 2008 IP
  8. Aatma

    Aatma Well-Known Member

    Messages:
    1,233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    130
    #8
    Thanks a lot Sawz
    Since I am new to php world, I had no idea that a php section even exists.
     
    Aatma, Nov 9, 2008 IP
  9. iboltmedia

    iboltmedia Peon

    Messages:
    194
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Editing PHP files is very smilar to editing HTML files. PHP files just use exra functions. There are a lot of WYSIWYG editors out there aswell as text editors. If you can afford it, I would recommend Dreamweaver which makes the job a lot easier.
     
    iboltmedia, Nov 9, 2008 IP
  10. kampang

    kampang Member

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #10
    ur welcome:D

    for php [ or coding script ] im using notepad++
     
    kampang, Nov 9, 2008 IP
  11. Aatma

    Aatma Well-Known Member

    Messages:
    1,233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    130
    #11
    from what I have seen so far it looks like there are not many options to edit php as easily as say a html file.
     
    Aatma, Nov 10, 2008 IP
  12. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #12
    there's really only one option, using a text editor. ;)
     
    sawz, Nov 10, 2008 IP
  13. jacobbannier

    jacobbannier Active Member

    Messages:
    1,155
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    90
    #13
    There are no WYSIWYG editors for PHP as most PHP scripts require a server or localhost, as PHP is a server side scripting code, and HTML is just client side.
    If you want to edit the HTML of a php file I used to save the PHP file as HTML (PHP script will be disabled), this allows you to see the page as it was all HTML, then edit it. Don't forget to change it back to .php when you have finished :)
     
    jacobbannier, Nov 11, 2008 IP
  14. Aatma

    Aatma Well-Known Member

    Messages:
    1,233
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    130
    #14
    Thanks, thats a very important tip. I am now begining to get the hang of it :D
     
    Aatma, Nov 12, 2008 IP