Re: [PHP] Problem with header redirect with register_globals off

2002-11-12 Thread Marco Tabini
Can you post some code?


Marco
-- 

php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Check us out on the web at http://www.phparch.com


On Tue, 2002-11-12 at 08:52, pig pig wrote:
 Hi All,
 
 I am having problem with redirecting using header
 function with register_globals off.  It works fine on
 my PC but not on the site as the register_globals is
 off on the server.  When redirecting on the server it
 gave an CGI error:
 
 CGI Error
 The specified CGI application misbehaved by not
 returning a complete set of HTTP headers. The headers
 it did return are:
 
 
 I am using session to pass some variables to the
 target page, could this cause the problem?
 Is there a work around for this problem?
 
 Thanks in advance.
 
 CK Ong
 
 __
 Do You Yahoo!?
 Great flight deals, travel info and prizes!
 http://sg.travel.yahoo.com
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Problem with header redirect with register_globals off

2002-11-12 Thread David Russell
Could you post some code?

David Russell
IT Support Manager
Barloworld Optimus (Pty) Ltd
Tel: +2711 444-7250 
Fax: +2711 444-7256
e-mail: [EMAIL PROTECTED]
web: www.BarloworldOptimus.com

-Original Message-
From: pig pig [mailto:pigpig8080;yahoo.com.sg] 
Sent: 12 November 2002 03:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Problem with header redirect with register_globals off


Hi All,

I am having problem with redirecting using header
function with register_globals off.  It works fine on
my PC but not on the site as the register_globals is
off on the server.  When redirecting on the server it
gave an CGI error:

CGI Error
The specified CGI application misbehaved by not
returning a complete set of HTTP headers. The headers
it did return are:


I am using session to pass some variables to the
target page, could this cause the problem?
Is there a work around for this problem?

Thanks in advance.

CK Ong

__
Do You Yahoo!?
Great flight deals, travel info and prizes! http://sg.travel.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




smime.p7s
Description: application/pkcs7-signature