I use win2000, IIS, PHP4.04. I made a form file which included a "file" object for uploading files, and it's named "upload.php". The "action" parameter of the file object is set to another file called "submit.php". In submit.php, I expect it return back to it's caller "upload.php" after finishing it's task. So I added code as: { header("Location: upload.php"); } in the end. After I submit my request, an error happened, which said "can't find server or DNS error". But, if I add a code as: { echo "<body onload=\"location.assign('upload.php')\"></body>"; } which product a javascript redirect indication, oH, it's OK. The same case, if the form doesn't include a file object, the header() function will execute correctly. Who can tell me what's the reason? Thank you for all. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]