Rewrited url (HELP PLEASE)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • arnage
    replied
    Originally posted by ewanz View Post
    It take many w0rks 0n my scripts t0 rewrite all url.. S0 damn
    Use Notepad++ option in Seacrh > Replace...

    Leave a comment:


  • warfrek
    replied
    huh?please poeple?do not just post codes here without explanati0ns. You might confuse others.

    Leave a comment:


  • abipol
    replied
    try this?

    PHP Code:
    RewriteEngine on

    RewriteCond 
    %{REQUEST_FILENAME} -[OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule 
    .+ - [L]
    RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$[QSA,L

    Leave a comment:


  • leadiztah
    replied
    i looking for that too.

    Leave a comment:


  • ewanz
    replied
    lazy is my attitude.. huhuhu... what difference use mod rewrited and framework?

    Leave a comment:


  • razzbee
    replied
    u shudnt expect that to be simple.dnt be lazy

    Leave a comment:


  • frostymarvelous
    replied
    Well you need to work hard to enjoy

    Leave a comment:


  • ewanz
    replied
    It take many w0rks 0n my scripts t0 rewrite all url.. S0 damn

    Leave a comment:


  • frostymarvelous
    replied
    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:


  • ramciv14
    replied
    how to get the value?

    $_GET['uid']

    but i prefer to use a framework

    Leave a comment:


  • opticalpigion
    replied
    Originally posted by DiL View Post
    HELLO 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:


  • morse
    replied
    Hi, what is the benefit of MVC framework above .htaccess ??

    Leave a comment:


  • CreativityKills
    replied
    Most frameworks r free :-/ why wud i wanna pay for it when i could just make mine.

    Leave a comment:


  • frostymarvelous
    replied
    Are there any free good ones for php?
    Last edited by frostymarvelous; 13.12.10, 01:09.

    Leave a comment:


  • antony2kx
    replied
    Wel nice But nowadays people stop using rewrite instead just use a mvc framework to write your code

    Leave a comment:

Working...
X