Please support our PHP advertiser: Lunarpages PHP Web Hosting
![]() |
Is there any other function in PHP that can be used for redirecting a page
I use the following
But it generates the following error:
Is there any alternative in php?
I use the following
header ("location: index.php");But it generates the following error:
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\program files\easyphp1-8\www\admin-right-nav.php:5) in c:\program files\easyphp1-8\www\admin-right-nav.php on line 6
Is there any alternative in php?
Actually this is my code
I get the error
<?
session_start();
echo "Logging out ".$_SESSION['userid'];
header("location: tussu.php");
?>I get the error
Logging out admin Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\logout.php:3) in c:\program files\easyphp1-8\www\logout.php on line 6
•
•
Join Date: Apr 2006
Location: -=paradise=-
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Try:
(*)
5 <= this will show your "Logging out ".$_SESSION['userid']" for 5 seconds.
<?
session_start();
header("Location: tussu.php"); //or (*)
echo "Logging out ".$_SESSION['userid'];
?>header("Refresh: 5; URL:http://www.domain.com/path/to/tussu.php");![]() |
Similar Threads
Other Threads in the PHP Forum
- PHP URL variables and if statement (PHP)
- CE7.net - Free CPANEL hosting, forum & blog hosting, redirection (no banners/popups) (Web Hosting Deals)
- URL Rewrite in PHP (PHP)
- CE7.net - Free phpBB & IPB forums, blogs and URL redirection & no banners or popups! (Web Hosting Deals)
Other Threads in the PHP Forum
- Previous Thread: Secure MP3 Downloads ?? Help Needed
- Next Thread: Help with jump.php Script
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode