※機能制限した見本版です。(このディレクトリから移動できません。置換ファイルはphpではなく、txtファイルになります。ファイルや置換パターンを編集しても10分で元に戻ります。)
ファイル一覧を隠す
上のディレクトリへ上のディレクトリへ
ファイルcalendar.cgi
ファイルmultiupload.cgi
サブディレクトリsubdir
 multiupload.cgiを選択中
SJIS EUC-JP UTF-8 JIS 
--------------------------------------------------------------------------------------------------
■以下の変数名はスカラーや配列で重複して使用されています。変数のタイプが違う場合、別名に変更してください。
一括で変換
変数名スカラー配列ハッシュ 
history historyを編集
admin_mail admin_mailを編集
ver verを編集
access accessを編集
pathpathを編集
mode modeを編集
subdir subdirを編集
sort sortを編集
pass passを編集
user userを編集
dir dirを編集
param paramを編集
mailmailを編集
size sizeを編集
decode_name decode_nameを編集
perm permを編集
download downloadを編集
tm tmを編集
tmp tmpの編集をキャンセル
value valueを編集
val valを編集
oval ovalを編集
time timeを編集
kigen kigenを編集
html htmlを編集
raw_pass raw_passを編集
msg msgを編集
url urlを編集
t tを編集
rpass rpassを編集
htac htacを編集
del_htac del_htacを編集
d dを編集
new_raw_pass new_raw_passを編集
dlmail dlmailを編集
max_day max_dayを編集
max_down max_downを編集
new_user new_userを編集
str strを編集
salt saltを編集
host hostを編集
cookcookを編集
dir_user dir_userを編集

$tmp → $
@tmp → @
▼変更対象の変数
1355行目  my $tmp = '$' . $name . '=\'' . $value . '\';';
1356行目  eval $tmp;
1840行目  my $tmp = &presenttime($kigen);
1841行目  $tmp =~ s/:\d{2}$//;
2244行目  my $tmp = param('dir');
2245行目  $tmp =~ s/^\.\///;
2246行目  &make_dir(join('/',$passdir,$tmp)) if ! -d join('/',$passdir,$tmp);
2247行目  my $pass_file_path = join('/',$passdir,$tmp, param('time') . '.cgi');
2302行目  my $tmp = param('dir');
2303行目  $tmp =~ s/^\.\///;
2304行目  &make_dir(join('/',$passdir,$tmp)) if ! -d join('/',$passdir,$tmp);
2305行目  my $pass_file_path = join('/',$passdir,$tmp, param('time') . '.cgi');
2474行目  my $tmp = $dir;
2475行目  $tmp =~ s/^\.\///;
2476行目  $path = join('/',$path,$tmp);
2849行目  my (@tmp, $com, $name, $value,$config_start,$config_end);
2857行目  @tmp = split(/;/,$line);
2858行目  $com = pop(@tmp);
2860行目  ($name, $value) = split(/=/,$tmp[0]);
2893行目  my $tmp = $line;
2895行目  $tmp =~ s/ //g;
2896行目  if (! $config_end && $tmp =~ /^(my)?\s*\$adminpass\s*='/) {
2902行目  my @tmp = split(/;/,$line);
2903行目  my $com = pop(@tmp);
3260行目  my $tmp = $del_htac{"$in_user"};
3261行目  $tmp =~ s/^\.\///;
3262行目  if (unlink join('/',$passdir,$tmp,'.htpasswd')) {
3263行目  $comment .= qq(<div style="color:red"><strong>) . join('/',$passdir,$tmp,'.htpasswd') . qq(</strong>を削除しました。</div>);
3341行目  my $tmp = $dir;
3342行目  $tmp =~ s/^\.\///;
3343行目  if (-e join('/',$passdir,$tmp,'.htpasswd')) {
3345行目  if (unlink join('/',$passdir,$tmp,'.htpasswd')) {
3346行目  $comment .= qq(<div style="color:red"><strong>) . join('/',$passdir,$tmp,'.htpasswd') . qq(</strong>を削除しました</div>\n);
3348行目  $comment .= qq(<div style="color:red"><strong>) . join('/',$passdir,$tmp,'.htpasswd') . qq(</strong>を削除できませんでした</div>\n);
3351行目  if (open(HTPAS,join('/',$passdir,$tmp,'.htpasswd'))) {
3358行目  $comment .= qq(<div style="color:red">) . join('/',$passdir,$tmp,'.htpasswd') . qq(の${id}を削除しました。</div>\n);
3363行目  open(HTPAS,">" . join('/',$passdir,$tmp,'.htpasswd'));
3951行目  my $tmp = pop @axs;
3952行目  my($ac_user, $ac_time, $ac_host,$reg_tm) = split(/\,/,$tmp);
4929行目  my @tmp = split(/;/,$line);
4930行目  my $com = pop(@tmp);
4978行目  my (@tmp, $com, %popup, $name, $value, $style, $line, $nk_value);
4981行目  my $tmp = $line;
4982行目  $tmp =~ s/</&lt;/g;
4984行目  @tmp = split(/;/,$line);
4985行目  $com = pop(@tmp);
4988行目  ($name, $value) = split(/=/,$tmp[0]);
4989行目  my @value = split(/=/,$tmp[0]);
5192行目  my $tmp = $line;
5193行目  $tmp =~ s/ //g;
5194行目  if ($tmp =~ /^(my)?\s*\$adminpass\s*='/) {
5197行目  my @tmp = split(/;/,$line);
5198行目  my $com = pop(@tmp);
5201行目  } elsif ($make_passdir && $tmp =~ /^(my)?\s*\$passdir\s*='/) {
5202行目  my @tmp = split(/;/,$line);
5203行目  my $com = pop(@tmp);
perlからPHPへの書き換え補助 perl2php.php ver.1.2