[PHP] Hi! Is there any equivalent function with header?
Hi friend, Is there any equivalent statement to header (Location: user.php); Because I am getting problem with that line in fresh browser context. How to see the php error log? And how to display an error messages in php? Thanks and Regards -Balaji **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] Hi! Is there any equivalent function with header?
On Tuesday 19 March 2002 22:20, Balaji Ankem wrote: Hi friend, Is there any equivalent statement to header (Location: user.php); Because I am getting problem with that line in fresh browser context. The correct usage is: header (Location: http://www.domain.com/user.php;); ie you need the full URL. How to see the php error log? And how to display an error messages in php? Read the chapter on Error Handling -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* A man without a woman is like a statue without pigeons. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hi! Is there any equivalent function with header?
Thanks for the reply!!! I want equivalent statement to header (Location: http://www.domain.com/user.php;); Because I am getting the problem saying php.exe has generated errors and will be closed by windows. You need to restart the program. An error log is being created And no error is logged in error log. Thanks in advance Balaji -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 7:57 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Hi! Is there any equivalent function with header? On Tuesday 19 March 2002 22:20, Balaji Ankem wrote: Hi friend, Is there any equivalent statement to header (Location: user.php); Because I am getting problem with that line in fresh browser context. The correct usage is: header (Location: http://www.domain.com/user.php;); ie you need the full URL. How to see the php error log? And how to display an error messages in php? Read the chapter on Error Handling -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* A man without a woman is like a statue without pigeons. */ -- 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] Hi! Is there any equivalent function with header?
I wouldn't say you NEED a full url, it should handle relative URL's as well. I don't know if it's part of the specification, but it will work. As far as your problem I hope that line break isn't in the string and it's just there because of the email. -Joe Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Tuesday 19 March 2002 22:20, Balaji Ankem wrote: Hi friend, Is there any equivalent statement to header (Location: user.php); Because I am getting problem with that line in fresh browser context. The correct usage is: header (Location: http://www.domain.com/user.php;); ie you need the full URL. How to see the php error log? And how to display an error messages in php? Read the chapter on Error Handling -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* A man without a woman is like a statue without pigeons. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php