Originally posted by ewanz
View Post
Rewrited url (HELP PLEASE)
Collapse
X
-
huh?please poeple?do not just post codes here without explanati0ns. You might confuse others.
Leave a comment:
-
try this?
PHP Code:RewriteEngine on
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule .+ - [L]
RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L]
Leave a comment:
-
lazy is my attitude.. huhuhu... what difference use mod rewrited and framework?
Leave a comment:
-
Yep. The underlying principle of the URL is the same, its just the appearance which has changed. So your script can remain the same. But you should rewrite all your urls to reflect the rule.
Leave a comment:
-
how to get the value?
$_GET['uid']
but i prefer to use a framework
Leave a comment:
-
Originally posted by DiL View PostHELLO friends,
i need a lil help about rewrite url....
as we knw that we can rewrite our by using URL ReWrite in .htaccess
but my question is, how to get values from rewrited URL....
If your url is
and we rewrite it as
now i wanna take 1212 from that url...
can anyone help me about that...????HTML Code:Options +FollowSymLinks RewriteEngine on RewriteRule (.*)\.html$ index.php?uid=$1
Leave a comment:
-
Most frameworks r free :-/ why wud i wanna pay for it when i could just make mine.
Leave a comment:
-
Are there any free good ones for php?Last edited by frostymarvelous; 13.12.10, 01:09.
Leave a comment:
-
Wel nice But nowadays people stop using rewrite instead just use a mvc framework to write your code
Leave a comment:
Leave a comment: