i code in perl so i dont know php perl requires 2 \n's at the end of the location tag because it is a header. you dont have them and im guessing php requires them as well ? Garry Stanley Cable.net.nz Beta Data Solutions Ltd.