Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
| Search | Today's Posts | Mark Forums Read
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 13th, 2006, 08:54 AM
Registered User
Join Date: Feb 2006
Location: Chennai, TamilNadu, India.
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to changusee2k
Default Header Function Problem.

I tried the following code and the page is not getting loaded. Please advise me on the error with suggestions to make it work.

Header("Cache-control: private");
Header("Location: http://www.w3schools.com/");


Old September 27th, 2006, 02:45 AM
Registered User
Join Date: Sep 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to prakashgupta Send a message via Yahoo to prakashgupta


I am running php on tomcat 5. It work fine with simple php page but flunked in case of php redirection using header("location:filename.php") function. Please suggest how to handle.

Similar Threads
Thread Thread Starter Forum Replies Last Post
header problem? hosefo81 PHP How-To 4 June 23rd, 2006 01:06 AM
Header rediect problem .... ajutla Pro PHP 3 October 14th, 2004 09:13 AM
header redirection problem ronin2307 Pro PHP 2 September 1st, 2004 07:58 PM
Header redirection problem ronin2307 Beginning PHP 1 September 1st, 2004 04:06 PM
trouble with header function trangd Beginning PHP 1 July 24th, 2004 06:01 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.