Share Code Quickly

What is Harigami?

Harigami is a simple source code sharing service. You can share source code by an URL which is issued after submission.
You can also run your source code online such as Python, Ruby, JavaScript and so on.
For free.Use for code review.
Preferences

anonymous No title
PHP
<?php

$list = array();
$file = "kadai_5.txt";
$fp = fopen($file, "r");
while(!feof($fp)){
    $txt = fgets($fp);
    array_push($list, $txt);
}
fclose($fp);
print_r($list);

?>
anonymous No title
PHP
<?php
if(isset($_GET['comment'])){
    if($txt = $_GET['comment']){
        echo "作成完了";
    }
    $fp = fopen("kadai_5.txt", "a");
    fwrite($fp, $txt."\n");
    fclose($fp);
}
?>
<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="kadai_6.php" method="get">
    <input type = "text" name ="comment"><br/>
    <input type = "submit" value ="送信">
    </form>
</body>
</html>
anonymous No title
PHP
<?php
if(isset($_GET['comment'])){
    if($txt = $_GET['comment']){
        echo "作成完了";
    }
    $fp = fopen("kadai_5.txt", "w");
    fwrite($fp, $txt."\n");
    fclose($fp);
}
?>
<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="kadai_5.php" method="get">
    <input type = "text" name ="comment"><br/>
    <input type = "submit" value ="送信">
    </form>
</body>
</html>
anonymous No title
PHP
<?php
if(isset($_GET['comment'])){
    if($txt = $_GET['comment']){
        echo "作成完了";
    }
    $fp = fopen("kadai_6.txt", "w");
    fwrite($fp, $txt."¥n");
    fclose($fp);
}
?>
<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="kadai_6.php" method="get">
    <input type = "text" name ="comment"><br/>
    <input type = "submit" value ="送信">
    </form>
</body>
</html>
anonymous No title
PHP
<?php
if(isset($_GET['comment'])){
    if($txt = $_GET['comment']){
        echo "作成完了";
    }
    $fp = fopen("kadai_5.txt", "w");
    fwrite($fp, $txt);
    fclose($fp);
}
?>
<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="kadai_5.php" method="get">
    <input type = "text" name ="comment"><br/>
    <input type = "submit" value ="送信">
    </form>
</body>
</html>
anonymous No title
PHP
<?php
if(isset($_GET['comment'])){
    $txt = $_GET['comment'];
    echo $txt;
}
?>
<!DOCTYPE html>
<html lang="ja">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="kadai_4.php" method="get">
    <input type = "text" name ="comment"><br/>
    <input type = "submit" value ="送信">
    </form>
</body>
</html>
anonymous No title
PHP
<?php

$file = "test.txt";
$FP = fopen($file, "r");
$txt = fgets($FP);
echo $txt;
fclose($FP);

?>
anonymous No title
PHP
<?php

if($FP = fopen("test.txt", "w")){
    echo '作成完了';
}
fwrite($FP, "test");
fclose($FP);

?>
anonymous No title
PHP
<?php echo 'Hello' ?>
anonymous No title
Python
代表者様 
 
お忙しい中失礼いたします。 
 
突然ですが、 
御社のGoogleマップ上に 
ネガティブな口コミが 
入ってないでしょうか? 
 
Googleマップは 
必ずお客様に見られるツールです。 
 
その際に 
ネガティブな口コミがあったら 
お客様はどう思われるでしょうか? 
 
弊社はGoogleマップ上の状態を 
お客様が安心してご利用される状態にする 
お仕事をしています。 
 
もし「うちは大丈夫かな?」 
とお思いでしたら 
無料で現状をお調べします。 
 
https://www.bazzmarketing.net 
 
こちらのお問い合わせフォームより 
お気軽にお問い合わせください。 
 
お忙しい中、最後まで読んでいただき 
ありがとうございました。 
 
 
BuzzLy.ltd