Solved

query string

Posted on 2011-09-18
2
425 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

685 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