in response to the local vs. remote server question: i just do a test for if it is the local server by using this asp statement, it can be changed for php: If Not Request.ServerVariables("HTTP_HOST") = "localhost" Then do stuff on remote/live server End If :) tom