Re: Opening a page in the same window
| From: | Johannes Rumpf | Date: | Sun, 29 Apr 2001 11:35:46 +0000 |
| Subject: | Re: Opening a page in the same window | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50795@lists.php.net to get a copy of this message | ||
For PHP there's no command, just do it by Javascript, like this:
print("<script language=\"Javascript\">document.location.href=\" --- Fill in file location here --- \"</script>");
The file you're linking to can be any file, a html, a php, a cgi, whatever you want
Greetings from Austria,
Johannes Rumpf