Changeset 952 for trunk/cgi-bin
- Timestamp:
- 08/02/24 11:49:45 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cgi-bin/newnode.cgi
r906 r952 57 57 if ($webvar{nodename}) { 58 58 $sth = $dbh->prepare("insert into nodes (node_type,node_name,node_ip) values (?,?,?)"); 59 $webvar{nodeip} =~ s/^\s*//; 60 $webvar{nodeip} =~ s/\s*$//; 59 61 $sth->execute($webvar{type}, $webvar{nodename}, $webvar{nodeip}); 60 62 $page->param(nodename => $webvar{nodename});
Note:
See TracChangeset
for help on using the changeset viewer.