dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: How to make decent php website

  1. #1
    Join Date
    Nov 2010
    Posts
    9

    How to make decent php website

    Maybe this question has been posted before but I can't find something similar. I want to make simple php site and don't know how to begin. I assume that there are better way than just pile up functions and code and later when I would want to change something it will be difficult. Is there some template (structure of website, best practices) which is good to start with, but it shouldn't be something difficult because website is really small for now. All I can find are frameworks that are too big?

  2. #2
    Join Date
    May 2012
    Location
    St. Helens, UK
    Posts
    74
    This rather depends on what you're hoping to achieve by using PHP; first define what you're hoping to achieve, you'll have a better chance of getting a meaningful response from the community...

  3. #3
    Join Date
    Oct 2012
    Location
    /dev/null
    Posts
    15
    here is a basic template that will help you make a basic site, the files that have ".inc.php" are files that go in
    a include folder. basically you can add a lot of pages and just have to include the header, footer and sidebar. only the content of the page will be different.

    index.php -> http://pastebin.com/59i9Ea1b

    footer.php -> http://pastebin.com/ptXppPzD

    header.inc.php -> http://pastebin.com/cyDyEdgk

    sidebar.php -> http://pastebin.com/QaZfUtC9

    title.inc.php -> http://pastebin.com/nKYxgRQh

    main.css -> http://pastebin.com/Aik2Tj8b

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles