|
[x]
Posted via EE Mobile
|
|
| Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
|
|
|
|
Asked by yehiaeg in PHP Scripting Language
Hi,
I'm running a small MVC model for a one page website, it runs in the following order:
1. User type
http://www.online.com/library2. The htaccess file redirect this url to
http://www.online.com/library/controller.php?action=list3. The controller file checks for the action query, list all the data in a session variable and use php header("Location:...) to redirect to the view
4. The View list all the data from the session variable.
My only concern with this scenario is that the user ends up with
http://www.online.com/library/view.php in his address bar so he thinks it's the same as browsing to "/library/". What i want to accomplish now is making a redirect from the controller to the view without informing the client, so ends up with the same "/library/" in his address bar.
Thanks In Advance
Regards.
Yehia A.Salam
20091111-EE-VQP-92 - Hierarchy / EE_QW_3_20080625