Reply to Re: Refresh Problems

Your name:

Reply:


Posted by John on 11/16/05 10:42

On Tue, 15 Nov 2005 19:12:59 GMT, Oli Filth <catch@olifilth.co.uk>
wrote:

<snip>

>> are you saying the code to do the jump must be the very first thing in
>> file and that's it?
>
>No...
>
>header() must be used *before* all script *output*. You can do as much
>PHP processing as you like, as long as nothing is output before header()
>is used, e.g. echo(), print(), characters outside <?php...?>.

All works great, thanks for you help on this it is appreciated. I am
now beginning to see how it works.

I moved the code up and although there was some output made these were
error messages on different logical paths. So the jump was made and
returns to the form on 'back button' as required.

I am not sure how I would do it if there was some output to do but
then I can't see why that would be the case if a redirect was taking
place anyway. Cross that bridge if/when I come to it I guess.


>I'm sure this is what it pretty much said in any of the references that
>Philip (rather unsubtly)......

.....… and that explains the crazy situation whereby Newbies feel they
have to apologise before they start so as not to get their head bitten
off by antics like this. Fortunately I can live with this sort of
rudeness.

Thanks again

--
John

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация