PHP Classes

bugs

Recommend this page to a friend!

      PHP Forms Class with HTML Generator and JavaScript Validation  >  PHP Forms Class with HTML Generator and JavaScript Validation package blog  >  Locating addresses on...  >  All threads  >  bugs  >  (Un) Subscribe thread alerts  
Subject:bugs
Summary:bugs in orms.php
Messages:2
Author:sung moon
Date:2006-07-20 20:20:10
Update:2006-07-21 04:42:57
 

  1. bugs   Reply   Report abuse  
Picture of sung moon sung moon - 2006-07-20 20:20:10
in forms.php file

bug 1
in Function GetEventActions($form_object, $from, $event)

if(strlen($actions))
$connection.="; ";
$actions.=$javascript;
==>
if(strlen($actions))
$actions.="; ";
$actions.=$javascript;



bug 2 & 3
in Function SetValue($variable,$value)

case "POST":
if(IsSet($_POST[$variable]))
$_POST_[$variable]=$value;

change $_POST_ to $_POST


case "GET":
if(IsSet($HTTP_GET_VARS[$variable]))
==>
case "GET":
if(IsSet($_GET[$variable]))
$_GET[$variable]=$value;
if(IsSet($HTTP_GET_VARS[$variable]))


bug 4
in Function LoadInputValues($submitted=0)

case "select":
if(IsSet($this->inputs[$key]["MULTIPLE"]))
{
if($submitted)
{
$this->Changes[$key]=$this->inputs[$key]["SELECTED"];
for($value_key=0,$this->Changes[$key];$value_key<count($this->Changes[$key]);Next($this->Changes[$key]),$value_key++)

add Reset() to $this->Changes[$key] like
for($value_key=0,Reset($this->Changes[$key]);$value_key<count($this->Changes[$key]);Next($this->Changes[$key]),$value_key++)

  2. Re: bugs   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-07-21 04:42:57 - In reply to message 1 from sung moon
You patches were applied. A new version will be uploaded soon. Thank you for reporting.