Reply to Re: die() php but continuing on to html below the end php tag?

Your name:

Reply:


Posted by Captain Paralytic on 11/13/07 17:11

On 13 Nov, 17:04, MS <No.Way.J...@No.Spam.Thank.You.com> wrote:
> Captain Paralytic emailed this:
>
>
>
>
>
> > On 13 Nov, 16:50, MS <No.Way.J...@No.Spam.Thank.You.com> wrote:
> >> Hi,
>
> >> Is there a php function that will stop executing the php code, but do any
> >> necessary clean-up, like die(), and will then go on to process any html in
> >> the file that is below the '?>' end php tag? Both die() and exit() exit
> >> without processing the html after the end php tag.
>
> >> E.G.
>
> >> SOME HTML...
>
> >> <?php
>
> >> SOME PHP...
>
> >> Call End PHP processing function (jumps to end the page neatly html).
>
> >> ?>
>
> >> END PAGE NEATLY HTML...
>
> >> Or must I place the end page html in a php function and call that, say, as
> >> part of a MyDie() function.
>
> >> Thanks.
>
> > <?php
>
> > SOME PHP...
>
> > die('END PAGE NEATLY HTML...');
>
> > ?>
>
> Thanks. Should I take it that the answer is no?
>
> Cheers.- Hide quoted text -
>
> - Show quoted text -

What I posted is the way such a thing is implemented in php.

[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

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