You are here: Re: my HTML header - any feedback? « HTML « IT news, forums, messages
Re: my HTML header - any feedback?

Posted by Michael Fesser on 11/16/51 12:00

..oO(David Dorward)

>dittonamed wrote:
>
>> <?php
>> # processing php, ajax requests, POSTS, GETS, etc
>> ?>
>
>It seems odd to do this part way through the document.

ACK

>Especially so for
>responses to Ajax requests (which usually won't be HTML documents).

It may also cause problems if the processing of form data should require
a following redirect, which happens quite regularly in my own scripts to
avoid a repost of the form data just by reloading the page in the
browser. Every processing should be done before the first line of
output, not somewhere in the middle of it.

Micha

 

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

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