Assuming that I have a link like this <a href=“cart”>View your cart</a> (don’t need have index.php?.. before). I want to transfer cart to url, example: http://localhost/market[/](http://localhost/market)[COLOR=#ff0000]cart[/COLOR] (market is root folder) and take it from url (as variable). To reduce a url, this is my purpose. Can I do that?
you can use URL Rewriting to accomplish what you’re trying to do … if i’m reading your question right.
Thank! It’s in a project of java, I see it’s very interesting so I want apply with php. It’s called URL Pattern.