FreeHostia Forums http://forum.freehostia.com/ |
|
$_SERVER['REDIRECT_URL'] http://forum.freehostia.com/viewtopic.php?f=4&t=38115 |
Page 1 of 1 |
Author: | id4689 [ Tue Aug 02, 2011 5:16 am ] |
Post subject: | $_SERVER['REDIRECT_URL'] |
Hi, I know the url does not exist that the user tried to access... error404.php: Code: <?php $url = explode("/", $_SERVER['REDIRECT_URL']); $user = $url[1]; $foto = $url[2]; header("Location: index.php?user=$user&id=$foto"); ?> $_SERVER['REDIRECT_URL'] does not work, will be an apache configuration? redirects more of the variables has no value, help me please ... |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |