100asa
07-10-2012, 01:15 AM
For some reason the following code isn't working:
header("Location: index.php");
exit;
Any ideas? :)
Cheers!
header("Location: index.php");
exit;
Any ideas? :)
Cheers!
|
||||
Redirect100asa 07-10-2012, 01:15 AM For some reason the following code isn't working: header("Location: index.php"); exit; Any ideas? :) Cheers! 100asa 07-10-2012, 01:31 AM Got it working by placing it into a function. Don't know why it wasn't working without being placed into a function. Anyone have any ideas? :) Inigoesdr 07-10-2012, 03:18 AM That should work unless you have it in some other context or scope. Arcticwarrio 07-10-2012, 07:53 PM try header('Location: /index.php'); |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum