Jump to content

Steps To Transfer To Tch? (followup)


Recommended Posts




My TCH site is up and running! I've gotten the domain name reassigned and email configured... All looks good. I'm surprised how fast the DNS changes took hold. I was redirected basically immediately.


In the original thread, I had asked


"My current host has no stats package running. Is there a way I can use some type of tool to tell when requests to the current web host stop after my new TCH site is propagating? Some type of external tool to look for requests to the current IP address..."


TCH Andy replied:


"As long as you don't mind adding a short script to your old sites files, then yes - that could be done.


If you are happy to - let me know, and I'll find a short script for you to add."


...meaning, he later clarified, a small javascript for my (I'm guessing index) page on the old host.


Well... I'm ready for that point. Can you guys provide me with something so I can tell when pull the plug?


Thanks to everyone that has helped and encouraged.



Link to comment
Share on other sites

Hi Steve,


I moved this topic to the scripting area rather than pre-sales.


Since your site is in dreamweaver, I would edit the template, and add a simple log script in, such as;


# variables


$LogFile = "/home/username/public_html/hits.log";

$HitDate=date("D M j g:ia");

$separator = "\t";


# Script



$message = $_SERVER['REMOTE_ADDR'].$separator.$todaysDate.$separator.$_SERVER['PHP_SELF']."\n";




# End



This will add any hits to a log file - that you can then access and read to see if anyone is still going there. You will need to edit the .htaccess to get it to interpret the PHP code in yout html, and I am assuming you have php on your old server - if not, tell us what script languages you could use.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...