Should a PHP Include file be in the Root folder?

It is for static page, dynamic page, website, SEO, performance and other web development discussion
ramverma
Posts: 435
Joined: Sat Aug 23, 2014 5:34 pm
Contact:

Should a PHP Include file be in the Root folder?

Postby ramverma » Mon Oct 19, 2015 8:44 am

Hello,
I'm new to PHP and am learning as I go but am now placing php include tags on HTML pages but before I get too far along, I was wondering if I should set my include tags up with the double dot and place the include files in a sub folder or if they are best left in the root folder.thanks in advance,...


Return to “PHP, HTML, MYSQL and Web Hosting”

Who is online

Users browsing this forum: No registered users and 1 guest