Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /sitemap/include/diesmiling.inc.php
sitemap - Richy's Site Map

Includes::DieSmiling

Die Smiling

 

public module DieSmiling

Die Smiling
©2001 YOA/LSYF/YoAi_Adapted by Richard Vrijhof_Usage:_diesmiling();_This will give a message with the text: "There was an unknown error with_this script."_diesmiling("Text to print");_This will give a message with the text: "Text to print"_diesmiling("Text to print", __LINE__);_This will give a message with the text: "Text to print" and it will also_include the line where the diesmiling() function was called_Note: this include file will print a link to "/custommail.php", which is a_PHP script to send email to a fixed email address (for instance of the_webmaster), with the text of the message (and the line if it exists) in the_body of the email to notify him/her of the problem. You can download_CustomMail from http://www.rjvrijhof.com/download/._Otherwise, change this script (and_"$base_dir/config/languages/$language/error"), but then you'll probably lose_the possibility to give your visitors the chance to send you a_(pre-formatted) email with as much information as possible in case something_is wrong.

Version$Revision: 1.1.1.1 $
Copyright(c)2001 YOA/LSYF/YoAi and (c)2002 R.J. Vrijhof

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Magic$Id: diesmiling.inc.php,v 1.1.1.1 2002/01/19 16:46:58 richy Exp $

 

Public Method Summary

void

diesmiling([ string $msg, integer $line ])

Main function of this module.

Public Method Details

diesmiling

public void diesmiling( [ string $msg, integer $line ] )

  Main function of this module.

Parameter
string $msg = >>""<<
input message to display
integer $line = >>0<<
line number of the calling script
Returns void

Required global variables
$base_dir - base directory of package Richy's Site Map
$language - language abbreviation
$HTTP_SERVER_VARS


Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta