Simple mod_rewrite Tutorial

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

    #16
    maybe i can take a peek? lol..

    Comment


      #17
      yea subzero new site are totally awsum love it cant wait till its finish but how do they say for all the wait there are good to come

      Comment


        #18
        Originally posted by subzero View Post
        well mine new script will have 5 users are lucky to get for free
        am i lucky enough?
        It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
        ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
        ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
        キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

        Comment


          #19
          Originally posted by subzero View Post
          but i still can steal it lmao
          how.,why don't u show me?
          My Blog: http://jhommark.blogspot.com
          My Facebook: http://www.facebook.com/jhommark
          My Official Site: http://www.undergroundweb.tk
          My Community Site: http://undergroundwap.xtreemhost.com

          Comment


            #20
            Originally posted by metulj View Post
            am i lucky enough?
            Yes your are lucky for it ;)

            Originally posted by kiLLeR-eyEd_14 View Post
            how.,why don't u show me?
            Postin undone script will class me of spamming it lol
            Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
            Visit: WapMasterz Coming Back Soon!
            _______
            SCRIPTS FOR SALE BY SUBZERO
            Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
            FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
            _______
            Info & Tips
            php.net
            w3schools.com

            Comment


              #21
              Subzero he meant u must go steal his session lol

              Comment


                #22
                all i need to do is steal is a image file i will not code it for others to steal with this code i still see your id

                when im done with my script it will have the code to hide sid but really try to steal it

                all you will get is my username wow lol
                Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                Visit: WapMasterz Coming Back Soon!
                _______
                SCRIPTS FOR SALE BY SUBZERO
                Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                _______
                Info & Tips
                php.net
                w3schools.com

                Comment


                  #23
                  how i knw mod rewite is wrking in my host or not ya is ist open in my host ya how i open this in my host ?

                  i try in my host to edit via htaccess but its not wrk thats y i ask this ?

                  Comment


                    #24
                    Originally posted by 12345xmen View Post
                    how i knw mod rewite is wrking in my host or not ya is ist open in my host ya how i open this in my host ?

                    i try in my host to edit via htaccess but its not wrk thats y i ask this ?
                    save this code as info.php
                    and uploadit to your root directory
                    then just point your browser to

                    PHP Code:
                    <?php

                    phpinfo
                    ();

                    ?>


                    and see there if your host support mod_rewrite


                    It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
                    ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
                    ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
                    キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

                    Comment


                      #25
                      Ok metulz i try then tel u what hapen. Thanks

                      Comment


                        #26
                        then he's free to do that..lol! A very old coder versus a month old coder..
                        My Blog: http://jhommark.blogspot.com
                        My Facebook: http://www.facebook.com/jhommark
                        My Official Site: http://www.undergroundweb.tk
                        My Community Site: http://undergroundwap.xtreemhost.com

                        Comment


                          #27
                          did anyone manage to make a work around for getting and passing the action to post/get/display the certain action?
                          something like

                          htaccess file is
                          PHP Code:
                          RewriteEngine On
                          RewriteRule home
                          /(.*)-(.*)/?$ index.php?act=main&topic=123 
                          so

                          becomes


                          and in your snippet, you got this
                          PHP Code:
                          $action $_GET["topic"]; 
                          so basically, you can no longer get or display the value of topic (which is 123)

                          Comment


                            #28
                            its pretty straight forward.

                            Code:
                            RewriteEngine on
                            RewriteRule home/(.*)-(.*)/?$ index.php?act=$1&topic=$2

                            Comment


                              #29
                              And if you have three variables in url add only $3?
                              <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

                              Comment


                                #30
                                better use mod_rewrite rewriterule generator (google search will help)
                                its easier and just edit it to your likings.
                                but that dont work with a form thing

                                Comment

                                Working...
                                X