Re: [PHP] Opening a new page when done

2001-10-24 Thread Chuck
If you are going to use the javascript solution, be sure to add a container for browsers that do not support javascript or have it disabled: Of course, pure PHP is far superior... :-) Chuck James Fairbairn wrote: > just print the

Re: [PHP] Opening a new page when done

2001-10-24 Thread Richard S. Crawford
Assuming you don't output anything else to a web page: header ("Location: index.html"); should do the trick if you put it at the end of the program. Be warned, though, that if you output anything to the browser at all, the header function will not work. Good luck! At 06:39 AM 10/24/2001, R

RE: [PHP] Opening a new page when done

2001-10-24 Thread james . fairbairn
just print the following at the point where you decide you want to redirect: a better alternative is to send a redirection header with the response, but this depends on you not sending any HTML output to the browser before processing i