You are here: Re: $HTTP_REFERER crashes my system like clockwork « PHP Programming Language « IT news, forums, messages
Re: $HTTP_REFERER crashes my system like clockwork

Posted by Jerry Stuckle on 12/17/46 11:53

walterbyrd wrote:
> Geoff Berrow wrote:
>
>
>>Think what echo does. It starts output. You can't have output without
>>headers, so the headers get sent.
>
>
> But what if I need to output something? Do I have to drop back to html?
> What does it mean for headers to be sent?
>
>
>>Cookie information is sent with the
>>headers so if the headers are already sent you have missed the boat.
>
>
> But my cookies seems to work.
>
>
>>--
>>Geoff Berrow (put thecat out to email)
>>It's only Usenet, no one dies.
>>My opinions, not the committee's, mine.
>>Simple RFDs http://www.ckdog.co.uk/rfdmaker/
>
>
Dropping back to HTML won't help, either. *ANY* output will send the
headers. It's not a PHP restriction - that's how HTTP works.

But why would you want to send data - then immediately redirect the
client to another page anyway? They'd never see the data you output.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this 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

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