Jump to content

BK87

Members
  • Posts

    147
  • Joined

  • Last visited

Posts posted by BK87

  1. there definitely is possible with php because I used this method before on my old websites, although! Its much easier with javascript!

     

    <Script>
    // change your domain name:
    var yourURL = "localhost";
    function outLinks() {
      var outLink;
      if (document.getElementsByTagName('a')) {
        for (var i = 0; (outLink = document.getElementsByTagName('a')[i]); i++) {
          if (outLink.href.indexOf(yourURL) == -1) {
            outLink.setAttribute('target', '_blank');
          }
        }
      }
    }
    window.onload = function() {
        outLinks();
    }
    </script>
    

    (also I take no credit for this found this online)

    just place anywhere in header section of file, and change localhost to youwebsite.com

  2. yes you can do that, if you want my company can transfer for you $10-20 (depending on forum size)... takes approx. 1hr or so.

     

     

    but if you wanna do it your self then...

     

    copy all file from server A to server B

     

    then copy mysql database from server A to server B

     

    if you have cpanel on both servers, then you can just do a "backup" of your server, and then upload it to server B and unzip the file there..

     

     

    have fun adios

  3. you want this right...

     

     

    Website A: have form.php, connect.php

     

    Website B: has sql server?

     

    you need to have a connection from Website A to Website B. You can set up a connection if your using mysql server, you need to create a user on Website B, with recognizing IP/host address from Website A, make a script that will connect the Website B to Website A, then create a script that will insert the info from the form into the database...

     

    I'm an old programmer, I'd sketch this for you, but I'm kind of rusty. =)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.