|
Cookbook /
phpalert(redirected from Cookbook.Phpalert) Summary: use popup for debugging
Version: 2.2
Prerequisites: none
Status: Working
Maintainer: GNUZoo
Categories: Administration Debugging
Downloads: phpalert.phpΔ
Questions answered by this recipe
DescriptionPopup alert box for debugging. This recipe is intended for administrators to use inside a php program for debugging. Syntax is just like the javascript alert() function. phpalert($somevalue);
phpalert("hello world");
phpalert("string");
phpalert('single quotes ok');
phpalert("data=$datavar"); - can use php variables inside double quotes
InstallingCopy phpalert.phpΔ to your cookbook directory In your config.php enter: include_once("cookbook/phpalert.php");
or in your farmconfig.php enter: include_once(" $FarmD/cookbook/phpalert.php");
NotesRelease NotesThis 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 http://www.fsf.org either version 2 of the License, or (at your option) any later version. Copyright 2007 by GNUZoo (guru@gnuzoo.org) Please donate to the author at url: http://gnuzoo.org/GNUZooPayPal
CommentsSee AlsoContributors |