you mean redirect? header("Location: www.stuff.com");
make sure it goes before any output to screen or html tags or it won't work, >I am exactly a beginner of php. This question may be easy. >I have a php program which want to achieve the url from browser. >e.g. webmail.xxx.com > >then how the index.php is able to know it is xxx.com ?? >which function in php can do so?? > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php > ________________________--__-______-______________ eat pasta type fasta -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php