I am on page 105 of the above named book in part where I am supposed to change the today.php to index.php. The part that I am confused about is the directory part. I use Dreamweaver CS5, is a sub-directory a simple folder within the created site or is it something else. Please help
is a sub-directory a simple folder within the created site or is it something else.
“Directory” is another word for a “folder”, so yes, in Dreamweaver, create and new folder called “today” and place the new index.php file in there.
So, if you are viewing your main (“root” or “home”) folder in Dreamweaver, go to File > New Folder, and a new folder will appear. Rename it to “today”, move the index.php file into it, and upload the folder. Then you can navigate to that page in your browser by going to mysite.com/today/ instead of mysite.com/today.php (if your site is online, or the equivalent URL if you are working on this on your computer using something like MAMP or WAMP).