Solved

query string

Posted on 2011-09-18
2
423 Views
Last Modified: 2013-12-13
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]


this is an .htaccess file
that makes the urls of index.php
not contain 'index' or the query string


please explain how this works in terms of model view controller

dont give a url
0
Comment
Question by:rgb192
2 Comments
 
LVL 7

Accepted Solution

by:
boon86 earned 500 total points
ID: 36558159
there is a good explanation out there that exactly same as what you need however its long, so i will paste the url here:

http://www.phpro.org/tutorials/Model-View-Controller-MVC.html

hope that help
0
 

Author Closing Comment

by:rgb192
ID: 36565144
thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now