Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 13th, 2006, 07: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.

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

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

thanks,

chandru
Reply With Quote
  #2 (permalink)  
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
Default

Hi,

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.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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



All times are GMT -4. The time now is 06:24 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.