2012-11-01から1ヶ月間の記事一覧
// ============================================== function ftp_upload ( $ftp_host ,$ftp_user ,$ftp_pass ,$file_from ,$file_to ){ $res_ftp = ftp_connect($ftp_host); if ($res_ftp === False) { return False; } $bol_flg = ftp_login($res_ftp, $f…
#!/bin/sh str_ymd=`date +"%Y%m%d%H%M%S"` str_cmd='' str_cmd=$str_cmd'/usr/bin/mysqldump' str_cmd=$str_cmd' --default-character-set=utf8' str_cmd=$str_cmd' --skip-lock-tables' str_cmd=$str_cmd' --user=db_user' str_cmd=$str_cmd' --password=d…
// ============================================== function unseter () { $tmp = array_keys($GLOBALS); krsort($tmp); foreach ($tmp as $val) { eval('unset($GLOBALS["' . $val . '"]);'); unset($val); } unset($tmp); } // ========================…
if ($('.hoge:checked').map(function(aaa, bbb) { return $(this).val(); }).length != 3){ window.alert('3つ選択して下さい'); }
// ============================================== function han2zen ($str_prm){ $ary_han = array( ' ' ,'!' ,'"' ,'#' ,'$' ,'%' ,'&' ,"'" ,'(' ,')' ,'*' ,'+' ,',' ,'-' ,'.' ,'/' ,':' ,';' ,'<' ,'=' ,'>' ,'?' ,'@' ,'[' ,"\\" ,']' ,'^' ,'_' ,'…
■タスクを削除する schtasks /delete /f /tn task_name /s \\your_pc_name /u your_user_name /p your_password ■タスクを追加する schtasks /create /sc daily /tr D:\exec.bat /tn task_name /st 23:00:00 /s \\your_pc_name /u your_user_name /p your_pa…