RE: [PHP] Is there any substitute for header function?

2002-05-29 Thread Balaji Ankem

Hi Martin,
 I have tried with full URL. But no use.
 Again displayed the error alert.

Thanks and Regards
Balaji

-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 29, 2002 11:37 AM
To: 'Balaji Ankem'; [EMAIL PROTECTED]
Subject: RE: [PHP] Is there any substitute for header function?


try specifying the full url. see how that goes

-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 4:06 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Is there any substitute for header function?


Hi Jason and friends,
 I am very sorry for that. Pls. Pardon me.
 Yaa I am sure header is causing that trouble and that to it is
happening on Windows only.  In linux it is not a problem.  If I remove
the 3 lines code present in if loop and if I keep any echo statement it
is working fine.  And If I try to access now( after removing 3 lines
code and trying
once) then it is working fine.
 That problem is coming in fresh browser context. Space is there in my
actual program.

Thanks and Regards
Balaji

-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 29, 2002 11:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Is there any substitute for header function?


On Wednesday 29 May 2002 13:49, Balaji Ankem wrote:

First of all, please start a new post when you have a new question. Do
not 
just reply to an existing post. It's bad manners. And quoting the
irrelevant 
existing post is even worse manners.


 Hi,
  Is there any substitute for header function..

 Because of this I am getting error saying..php.exe has generated some

 errors and will be closed by windows.

 if ($row-user_type=='A')
 {
   mysql_close($connection);
   header(Location:admin.php);
   exit;
 }

The correct using is:

header(Location: admin.php);

note the space.

And are you sure that it is the header() function that is causing the
above 
error?

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Out of cards on drive D:
*/


-- 
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



**Disclaimer** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.





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


Re: [PHP] Is there any substitute for header function?

2002-05-29 Thread Jason Wong

On Wednesday 29 May 2002 14:14, Balaji Ankem wrote:
 Hi Martin,
  I have tried with full URL. But no use.
  Again displayed the error alert.

Try searching on http://bugs.php.net to see whether there are any known 
problems with header() under Windows.

Try re-installing php.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Flattery is like cologne -- to be smelled, but not swallowed.
-- Josh Billings
*/


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




RE: [PHP] Is there any substitute for header function?

2002-05-29 Thread Balaji Ankem

Hi,
 Yes Problem is there with the ID: 

Bug #15090 header(Location: $url) causes php.exe to generate an error 
Submitted: 17 Jan 5:21pm Modified: 18 Jan 11:54pm 
From: [EMAIL PROTECTED] 
Status: Closed Category: Reproducible crash 
Version: 4.0.6 OS: Windows 2000 

Cheers
Balaji

-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 29, 2002 12:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Is there any substitute for header function?


On Wednesday 29 May 2002 14:14, Balaji Ankem wrote:
 Hi Martin,
  I have tried with full URL. But no use.
  Again displayed the error alert.

Try searching on http://bugs.php.net to see whether there are any known 
problems with header() under Windows.

Try re-installing php.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Flattery is like cologne -- to be smelled, but not swallowed.
-- Josh Billings
*/


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



**Disclaimer** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.





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


Re: [PHP] Is there any substitute for header function?

2002-05-28 Thread Jason Wong

On Wednesday 29 May 2002 13:49, Balaji Ankem wrote:

First of all, please start a new post when you have a new question. Do not 
just reply to an existing post. It's bad manners. And quoting the irrelevant 
existing post is even worse manners.


 Hi,
  Is there any substitute for header function..

 Because of this I am getting error saying..php.exe has generated some
 errors and will be closed by windows.

 if ($row-user_type=='A')
 {
   mysql_close($connection);
   header(Location:admin.php);
   exit;
 }

The correct using is:

header(Location: admin.php);

note the space.

And are you sure that it is the header() function that is causing the above 
error?

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Out of cards on drive D:
*/


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




RE: [PHP] Is there any substitute for header function?

2002-05-28 Thread Balaji Ankem

Hi Jason and friends,
 I am very sorry for that. Pls. Pardon me.
 Yaa I am sure header is causing that trouble and that to it is
happening on Windows only.
 In linux it is not a problem.
 If I remove the 3 lines code present in if loop and if I keep any echo
statement it is working fine.
 And If I try to access now( after removing 3 lines code and trying
once) then it is working fine.
 That problem is coming in fresh browser context. Space is there in my
actual program.

Thanks and Regards
Balaji

-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 29, 2002 11:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Is there any substitute for header function?


On Wednesday 29 May 2002 13:49, Balaji Ankem wrote:

First of all, please start a new post when you have a new question. Do
not 
just reply to an existing post. It's bad manners. And quoting the
irrelevant 
existing post is even worse manners.


 Hi,
  Is there any substitute for header function..

 Because of this I am getting error saying..php.exe has generated some

 errors and will be closed by windows.

 if ($row-user_type=='A')
 {
   mysql_close($connection);
   header(Location:admin.php);
   exit;
 }

The correct using is:

header(Location: admin.php);

note the space.

And are you sure that it is the header() function that is causing the
above 
error?

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Out of cards on drive D:
*/


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



**Disclaimer** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.





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


RE: [PHP] Is there any substitute for header function?

2002-05-28 Thread Martin Towell

try specifying the full url. see how that goes

-Original Message-
From: Balaji Ankem [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 4:06 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Is there any substitute for header function?


Hi Jason and friends,
 I am very sorry for that. Pls. Pardon me.
 Yaa I am sure header is causing that trouble and that to it is
happening on Windows only.
 In linux it is not a problem.
 If I remove the 3 lines code present in if loop and if I keep any echo
statement it is working fine.
 And If I try to access now( after removing 3 lines code and trying
once) then it is working fine.
 That problem is coming in fresh browser context. Space is there in my
actual program.

Thanks and Regards
Balaji

-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, May 29, 2002 11:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Is there any substitute for header function?


On Wednesday 29 May 2002 13:49, Balaji Ankem wrote:

First of all, please start a new post when you have a new question. Do
not 
just reply to an existing post. It's bad manners. And quoting the
irrelevant 
existing post is even worse manners.


 Hi,
  Is there any substitute for header function..

 Because of this I am getting error saying..php.exe has generated some

 errors and will be closed by windows.

 if ($row-user_type=='A')
 {
   mysql_close($connection);
   header(Location:admin.php);
   exit;
 }

The correct using is:

header(Location: admin.php);

note the space.

And are you sure that it is the header() function that is causing the
above 
error?

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Out of cards on drive D:
*/


-- 
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