README.md
December 4, 2022 ยท View on GitHub
Description
Redirect, via simple function.
More Info
just page name :)
Its just a function to redirect, to whatever page you need, just pass the parameter to the funtion.
redirect action
| Submitted On | |
| By | Mourad Hamed |
| Level | Beginner |
| User Rating | 3.8 (15 globes from 4 users) |
| Compatibility | PHP 3.0, PHP 4.0 |
| Category | Complete Applications |
| World | PHP |
| Archive File |
Source Code
function Redirect_Function($Page)//Function to redirect the page into destination one due to its parameter
{
global $HTTP_SERVER_VARS;
$Path = "http://".$HTTP_SERVER_VARS['HTTP_HOST'].dirname($HTTP_SERVER_VARS['PHP_SELF'])."/".$Page;
echo"<script>window.location=\"$Path\"</script>";
}