You are here: Re: [PHP] How to show complete exception text? « PHP « IT news, forums, messages
Re: [PHP] How to show complete exception text?

Posted by Kevin Waterson on 09/29/91 11:24

This one time, at band camp, "Christopher J. Bottaro" <cjbottaro@alumni.cs.utexas.edu> wrote:

> Hi,
>
> When an exception propagates all the way up the stack frame and splatters
> itself on my webpage, most of the text is cut off! This is completely
> useless. I can see that there is an error, but I can't read the frickin
> error message. How do I configure PHP to show the entire exception
> message?

not sure of your code, are you trying to do something like..
<?php

try {
lots of good code;
}

catch(Exception $e){
echo 'oh my, and exception has been thrown'.$e->getMessage();
}
?>

Kevin

--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."

 

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

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