I took a month off from Kevin's book and took a couple of PHP course's on a site named after some lady. My bad! Now, I review the first 6 chapters of this book and started having problems! I'm sure I've made some typical noob errorz but I'm flummoxed and very frustrated right now.(:
The very first attempt to run the code in chapter 7 sends Safari to open a directory/Finder view instead of actually running the "index.php" file in the "author," "categories" or "jokes" directories. The links in the "chapter7->admin" directory has a simple "index.html" file:
<li><a href="jokes/">Manage Jokes</a></li>
<li><a href="authors/">Manage Authors</a></li>
<li><a href="categories/">Manage Joke Categories</a></li>...
According to Mr. Yanks, this should automatically cause the "index.php" file in each of those three directories to do some error checking, DB opening and end up using the "jokes|authors|categories.html.php" file to display the appropriate info/options.
Instead, what I get if the dialog showing that Safari has downloaded the directory/folder! Adding the "index.php" to the reference just displays the raw php source.
Mac OS 10.6.7, Web Sharing enabled, PHP 5.3.4, mySQL...I now find I cannot log into phpMyAdmin :thinking: I'll shutdown & startup in Single user and run some cache cleaners...
Be glad to listen to any suggestions after the laughing dies down.:lol: