Solved

query string

Posted on 2011-09-18
2
419 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
Comment Utility
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
Comment Utility
thanks
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

728 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

12 Experts available now in Live!

Get 1:1 Help Now