•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 375,223 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,235 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 201 | Replies: 3
![]() |
echo a meta refresh in the head of the document if certain conditions exist.
php Syntax (Toggle Plain Text)
if(empty($_SESSION['ID'])){ echo'<meta http-equiv="refresh" content="0;url=http://www.yoursite.com/newpage.htm" />'; }
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
Similar Threads
- Cannot modify header information.Headers already sent (PHP)
- Help appreciated/required for project (Java)
- Warning: Cannot modify header information (PHP)
- Please Help Header Error (PHP)
- Multiple PHP INCLUDES (PHP)
Other Threads in the PHP Forum
- Previous Thread: utopia..but i need help in my obstinacy to optimism
- Next Thread: PhP Image help


Linear Mode