Hide Hyperlinks ?

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

    Hide Hyperlinks ?

    Hi
    Can anyone provide the code to hide hyperlinks

    #2
    more info please

    Comment


      #3
      if you have in chat or forum this:
      BLA BLA BLA http://HTTP://BLABLA.COM BLA BLA where the adress is hiperlink create one function like:

      function formatting($txt) {
      $replace_this = $with_this = array();

      $replace_this[] = "****";
      $with_this[] = "***";

      $replace_this[] = "bitch";
      $with_this[] = "***";

      $replace_this[] = ".com";
      $with_this[] = "NOTHING";


      $replace_this[] = "\[b\]";
      $with_this[] = "";

      $replace_this[] = "\[/b\]";
      $with_this[] = "
      ";

      $replace_this[] = "\[i\]";
      $with_this[] = "";

      $replace_this[] = "\[/i\]";
      $with_this[] = "
      ";

      $replace_this[] = "\[u\]";
      $with_this[] = "";

      $replace_this[] = "\[/u\]";
      $with_this[] = "
      ";

      $replace_this[] = "\\[url\\]([^\\[]*)\\[/url\\]";
      $with_this[] = "<a href=\"\\1\" target=\"_blank\" title=\"\\1\">\\1</a>";

      $replace_this[] = "\\[url=([^\\[]*)\\]([^\\[]*)\\[/url\\]";
      $with_this[] = "<a href=\"\\1\" target=\"_blank\" title=\"\\1\">\\2</a>";

      $replace_this[] = "\\[img\\]([^\\[]*)\\[/img\\]";
      $with_this[] = "<img src=\"\\1\" alt=\"\\1\" title=\"\\1\">";

      $replace_this[] = "\\[img=([^\\[]*)\\]([^\\[]*)\\[/img\\]";
      $with_this[] = "<img src=\"\\1\" alt=\"\\2\" title=\"\\2\">";

      foreach($replace_this as $nume => $valoare) {
      $txt = eregi_replace($valoare, $with_this[$nume], $txt);
      }

      $txt = nl2br($txt);
      return $txt;
      }



      edit this funtion and add more words the include in your script :


      if your chat line or forum line is ike this:
      echo "*".formatting($row[&#39;LINE CHAT&#39;])." .....


      this solve your problem?
      http://ngeo.ro

      Comment


        #4
        Sir M Want In My Site Show Any Type Link Not Show If Any One Find It From Nokia Browsers Or In Pc On Cursure. .

        Comment


          #5
          ****, i dont understand.

          1. you want show links or not?
          2. you want to show only for NOKIA OR PC?
          3. you want to hide for normal phones?

          you write this:
          Hi
          Can anyone provide the code to hide hyperlinks

          explain again.
          yes/no

          http://ngeo.ro

          Comment


            #6
            ****, i dont understand.

            1. you want show links or not?
            2. you want to show only for NOKIA OR PC?
            3. you want to hide for normal phones?

            you write this:
            Hi
            Can anyone provide the code to hide hyperlinks

            explain again.
            yes/no

            [/b]

            m want

            want to hide for normal phones?
            not show links any type browser

            Comment


              #7
              mayb he is tryn to say that he dont want spamming on his site???? im not sure hehehe
              Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

              <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

              Comment


                #8
                sa ma fut, nu te inteleg / i dont understand
                http://ngeo.ro

                Comment


                  #9
                  Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!

                  <span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

                  Comment


                    #10
                    m want any one not a copy my site links direct in other sites. m want session made downloads. can any one help me for it...

                    Comment


                      #11
                      ... He would like to obscure the true path.
                      ie. If you hold your cursur over the link it will show eg. http://link.php?link=132 instead of http://blah.blah/path/path/blah.php.

                      Ok what are you trying to hide? and for what reason as there are different ways of doing this?

                      Comment


                        #12
                        maybe you want to rewrite the links...that its the idea?

                        visit :
                        http://web-programming.suite101.com/articl...ng_via_htaccess
                        http://ngeo.ro

                        Comment


                          #13
                          ... He would like to obscure the true path.
                          ie. If you hold your cursur over the link it will show eg. http://link.php?link=132 instead of http://blah.blah/path/path/blah.php.

                          Ok what are you trying to hide? and for what reason as there are different ways of doing this?[/b]

                          yes if any one over the cursur link show

                          m want shield for my sites liks without registration

                          but any one download from direct in my site not from other site in which add my links

                          i think its a session made downloads

                          Comment


                            #14
                            i quit. good luck.
                            http://ngeo.ro

                            Comment


                              #15
                              whats the point?

                              Comment

                              Working...
                              X