Re: [PHP] Header - Redirect Command Not Working

2009-03-13 Thread Jan G.B.
2009/3/11 Daniel Brown danbr...@php.net: On Wed, Mar 11, 2009 at 12:38, Jan G.B. ro0ot.w...@googlemail.com wrote: wrong: Location: file.txt and this is correct Location: http://www.x.x/file.txt; Not all clients behave like yours and accept the wrong header.    The *protocol* does not, but

Re: [PHP] Header - Redirect Command Not Working

2009-03-13 Thread Daniel Brown
On Fri, Mar 13, 2009 at 13:15, Jan G.B. ro0ot.w...@googlemail.com wrote: Where's your point? Proving that you know the well known clients and their behaviour? Just stick to the standards. easy. no or less errors occur. Okay, I'm not going to get into a flame war with you, because it's

Re: [PHP] Header - Redirect Command Not Working

2009-03-11 Thread Jan G.B.
Hi Dave (?) 2009/3/11 revDAVE c...@hosting4days.com: Hi Bastien - Stuart Daniel Thanks for your help! On 3/10/2009 12:16 PM, Bastien Koert phps...@gmail.com wrote: Are you getting an error? What does 'not working' mean? No errors the page just stayed on the header('Location:

Re: [PHP] Header - Redirect Command Not Working

2009-03-11 Thread Daniel Brown
On Wed, Mar 11, 2009 at 12:38, Jan G.B. ro0ot.w...@googlemail.com wrote: One more thing to mention: The HTTP Protocoll requires you to give a full URL on Location Headers. That means that this is wrong: Location: file.txt and this is correct Location: http://www.x.x/file.txt; Not all

Re: [PHP] Header - Redirect Command Not Working

2009-03-11 Thread Shawn McKenzie
Daniel Brown wrote: On Wed, Mar 11, 2009 at 12:38, Jan G.B. ro0ot.w...@googlemail.com wrote: One more thing to mention: The HTTP Protocoll requires you to give a full URL on Location Headers. That means that this is wrong: Location: file.txt and this is correct Location:

Re: [PHP] Header - Redirect Command Not Working

2009-03-11 Thread Daniel Brown
On Wed, Mar 11, 2009 at 14:12, Shawn McKenzie nos...@mckenzies.net wrote: Though the w3c HTML/XHTML standards do show the META tag inside the head, hence the validation errors (http://validator.w3.org/#validate_by_input): Right, which should be no surprise. Validation follows the

[PHP] Header - Redirect Command Not Working

2009-03-10 Thread revDAVE
Newbie question... At the end of a php block I'm trying to use a redirect to go to another page. header('Location: show.php'); It works on my test server w php 5.2.6 but not at the main server w v 5.12 Is there a way to get it to go to the other page (even with a different command/function) -

Re: [PHP] Header - Redirect Command Not Working

2009-03-10 Thread Bastien Koert
On Tue, Mar 10, 2009 at 3:13 PM, revDAVE c...@hosting4days.com wrote: Newbie question... At the end of a php block I'm trying to use a redirect to go to another page. header('Location: show.php'); It works on my test server w php 5.2.6 but not at the main server w v 5.12 Is there a way

Re: [PHP] Header - Redirect Command Not Working

2009-03-10 Thread Stuart
2009/3/10 revDAVE c...@hosting4days.com Newbie question... At the end of a php block I'm trying to use a redirect to go to another page. header('Location: show.php'); It works on my test server w php 5.2.6 but not at the main server w v 5.12 Is there a way to get it to go to the other

Re: [PHP] Header - Redirect Command Not Working

2009-03-10 Thread Daniel Brown
On Tue, Mar 10, 2009 at 15:13, revDAVE c...@hosting4days.com wrote: Newbie question... At the end of a php block I'm trying to use a redirect to go to another page. header('Location: show.php'); It works on my test server w php 5.2.6 but not at the main server w v 5.12 Did you already

Re: [PHP] Header - Redirect Command Not Working

2009-03-10 Thread revDAVE
Hi Bastien - Stuart Daniel Thanks for your help! On 3/10/2009 12:16 PM, Bastien Koert phps...@gmail.com wrote: Are you getting an error? What does 'not working' mean? No errors the page just stayed on the header('Location: show.php'); page - never went to: show.php --- On 3/10/2009 12:17