- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
if ( $fldType[$i] == 10) {
eval("\$fldValue[\$i] = \$f_".$fld[$i].";");
}
else if ( $fldType[$i] != 6 ) {
eval("\$fldValue[\$i] = trim((is_array(\$f_".$fld[$i].")?\$_FILES['f_".$fld[$i]."']['tmp_name']:stripslashes(\$f_".$fld[$i].")));");
}
if ($fldType[$i]==8) {
eval("if (\$f_".$fld[$i]."_day || \$f_".$fld[$i]."_month || \$f_".$fld[$i]."_year || \$f_".$fld[$i]."_hours || \$f_".$fld[$i]."_minutes || \$f_".$fld[$i]."_seconds) \$fldValue[\$i] = sprintf(\"%04d-%02d-%02d %02d:%02d:%02d\",\$f_".$fld[$i]."_year,\$f_".$fld[$i]."_month,\$f_".$fld[$i]."_day,\$f_".$fld[$i]."_hours,\$f_".$fld[$i]."_minutes,\$f_".$fld[$i]."_seconds);");
}
TheHamstertamer 20.09.2011 18:38 # +1
Esper 20.09.2011 18:47 # 0
В остальном очень похоже.
jokz 20.09.2011 20:20 # 0
сто пудов perl
nex2hex 20.09.2011 20:24 # 0
jokz 20.09.2011 23:43 # 0
ling 21.09.2011 11:57 # 0
djumpen 20.09.2011 18:47 # 0
jQuery 20.09.2011 19:08 # +4
roman-kashitsyn 21.09.2011 09:13 # +6
telnet 20.09.2011 19:54 # +1
Exarchik 21.09.2011 11:14 # +1
i-- 21.09.2011 12:45 # 0
guest8 09.04.2019 11:33 # −999
MiEpoZc 25.08.2021 06:42 # 0