Thread: zend framework
View Single Post
  #2 (permalink)  
Old 07-18-2007, 10:05 AM
bimel bimel is offline
Junior Member
 
Join Date: Jul 2007
Posts: 5
Default

Hi,
I am using the tutorial from Akra’s DevNotes as my guide to learn zend framework.
I tried doing the tutorial and have come to realize that i have encountered the same error when trying other tutorials. i would just like to understand what is meant by this whole paragraph:

"Bootstrapping

The Zend Framework’s controller, Zend_Controller is designed to support websites with clean
urls. To achieve this, all requests need to go through a single index.php file, known as the
bootstrapper. This provides us with a central point for all pages of the application and ensures
that the environment is set up correctly for running the application. We achieve this using an
.htaccess file in the zf-tutorial root directory:
zf-tutorial/.htaccess
RewriteEngine on
RewriteRule .* index.php
php_flag magic_quotes_gpc off
php_flag register_globals off

The RewriteRule is very simple and can be interpreted as “for any url, use index.php instead”.

We also set a couple of PHP ini settings for security and sanity. These should already be set
correctly, but we want to make sure! Note that the php_flag settings in .htaccess only work if
you are using mod_php. If you use CGI/FastCGI, then you need the make sure that your
php.ini is correct."

I would appreciate it if someone would shed some light on what do they mean by this.Please do help.
Thanks
Reply With Quote