forked from extern/egroupware
adding test for using link function in action of form
This commit is contained in:
parent
533a3c495f
commit
bff4a9cd01
31
debug.php
Normal file
31
debug.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* phpGroupWare module (File Manager) *
|
||||
* http://www.phpgroupware.org *
|
||||
* Written by Dan Kuykendall <dan@kuykendall.org> *
|
||||
* -------------------------------------------- *
|
||||
* 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. *
|
||||
\**************************************************************************/
|
||||
|
||||
$phpgw_flags["currentapp"] = "home";
|
||||
include("header.inc.php");
|
||||
|
||||
//if ($showme) {
|
||||
if ($save == "OK") {
|
||||
echo "sessionid is: ".$sessionid."<br>\n"
|
||||
."kp3 is: ".$kp3."<br>\n"
|
||||
."the hidden field is: ".$hfield1."<br>\n"
|
||||
."you entered: ".$field1."<br>\n"
|
||||
."If everything is displayed, its working fine";
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
<form name=showme method=post action="<?php echo $phpgw->link($PHP_SELF);?>">
|
||||
<input type=hidden name=hfield1 value="just fine.">
|
||||
<input type=text size="56" name="field1"><br>
|
||||
<input type=submit name="save" value="OK">
|
||||
</form>
|
||||
<?php include($phpgw_info["server"]["api_dir"] . "/footer.inc.php"); ?>
|
Loading…
Reference in New Issue
Block a user