Calling HTML files through simplest PHP script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shah0101
    New Member
    • Dec 2008
    • 1

    Calling HTML files through simplest PHP script

    Hi there,

    I don't know how appropriate is my question but I know the problem that I have to install a software on my server and my landing page (home page) must be in PHP to run the software properly.

    I have a completed website in simple HTML and I can not change everything in PHP now, becuase I do not know anything about PHP.

    Is it possible to create a simple 5-10 line individual PHP script to call each of all the HTML files separately?

    I just downloaded notepad+++ for PHP editor.

    Any help will be appreciated.

    Cheers!!
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Heya, Shah0101.

    You can include() HTML files as well as PHP (PHP: include - Manual).

    Comment

    • Dormilich
      Recognized Expert Expert
      • Aug 2008
      • 8694

      #3
      Originally posted by shah0101
      I just downloaded notepad+++ for PHP editor.
      I recommend an editor with tag highlighting... that makes coding much easier. (you can find some on VersionTracker)

      Comment

      Working...