anonymous No title
No License HTML
2020年10月27日
Copy Clone
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>PHP</title>
</head>
<body>
<?php
// 1.echoで文字列を表示する
$data= 'Hello';
echo $data, '<br />';
// 2.文字列をテキストファイルに保存する
$file = fopen("sample.txt", "w");
flock($file, LOCK_EX);
fwrite($file, $data  . "\n");
flock($file, LOCK_UN);
fclose($file);
// 3. 2 で保存したテキストファイルを読み込んで表示させる
$file = fopen("sample.txt", "r");
flock($file, LOCK_EX);
echo fgets($file), '<br />';
flock($file, LOCK_UN);
fclose($file);
?>
<form method = "GET" action = "get_1.php">
<label for = "txt">文字列データ:</label>
<input id = "txt" type = "text" name = "txt" size = "15" />
<input type = "submit" value = "送信" />
</form>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>PHP</title>
</head>
<body>
<?php
// 1.echoで文字列を表示する
$data= 'Hello';
echo $data, '<br />';
// 2.文字列をテキストファイルに保存する
$file = fopen("sample.txt", "w");
flock($file, LOCK_EX);
fwrite($file, $data  . "\n");
flock($file, LOCK_UN);
fclose($file);
// 3. 2 で保存したテキストファイルを読み込んで表示させる
$file = fopen("sample.txt", "r");
flock($file, LOCK_EX);
echo fgets($file), '<br />';
flock($file, LOCK_UN);
fclose($file);
?>
<form method = "GET" action = "get_1.php">
<label for = "txt">文字列データ:</label>
<input id = "txt" type = "text" name = "txt" size = "15" />
<input type = "submit" value = "送信" />
</form>
</body>
</html>
anonymous
Anonymous
2021年04月24日
Medicament prescribing information. Brand names. <a href="https://lyricafor.top">purchase lyrica</a> in US Actual trends of meds. Read now.
anonymous
Anonymous
2021年04月29日
Meds information leaflet. Effects of Drug Abuse. <a href="https://lyricainfo.top">where can i buy cheap pregabalin for sale</a> in US Actual information about medicament. Get here.
anonymous
Anonymous
2021年04月30日
cialis online <a href="https://mycialistabs.com/">https://mycialistabs.com/</a> cialis ad
anonymous
Anonymous
2021年04月30日
buy generic cialis <a href="https://mycialistabs.com/">tadalafil 20 mg</a> cialis and blood pressure
anonymous
Anonymous
2021年05月02日
viagra vs cialis reddit <a href="https://toptadalafiltabs.com/">cialis 10mg</a> cialis free 30 day trial
anonymous
Anonymous
2021年05月03日
how to get cialis prescription online <a href="https://toptadalafiltabs.com/">discount cialis</a> cialis usa
anonymous
Anonymous
2021年05月05日
how to write a good college essay <a href="https://topessaywriterfas.com/">https://topessaywriterfas.com/</a> pay someone to write my college essay
anonymous
Anonymous
2021年05月05日
how to write a narrative essay examples <a href="https://topessaywriterfas.com/">college essay editing</a> how to write an essay you don't care about
anonymous
Anonymous
2021年05月06日
writing an essay on service <a href="http://writemyessayslfd.com/">personal essay writing</a> can someone write my essay for me
anonymous
Anonymous
2021年05月07日
cheap essay writin service <a href="http://writemyessayslfd.com/">writing essay for college</a> writing a college admissions essay
anonymous
Anonymous
2021年05月07日
female viagra cvs <a href="https://mrviagrashop.com">viagra for sale</a> sildenafil cvs
anonymous
Anonymous
2021年05月07日
generic viagra walmart <a href="https://mrviagrashop.com">canadian pharmacy ezzz viagra</a> sildenafil online
anonymous
Anonymous
2021年05月07日
natural viagra recipe <a href="https://mysildenafilkr.com/">viagra 100 mg</a> buy generic 100mg viagra online
anonymous
Anonymous
2021年05月07日
sildenafil troche <a href="https://mysildenafilkr.com/">viagra triangle</a> canadian pharmacy sildenafil
anonymous
Anonymous
2021年05月12日
address on resume <a href="http://coverletterforresumetop.com/">www.coverletterforresumetop.com</a> one page resume
anonymous
Anonymous
2021年05月12日
generic cialis price <a href="http://tadalafilled.com/">how long does cialis last 20 mg</a> cialis 20mg side effects
anonymous
Anonymous
2021年05月12日
program manager resume <a href="http://coverletterforresumetop.com/">entry level rn resume</a> walk me through your resume
anonymous
Anonymous
2021年05月12日
buying cialis online safe <a href="http://tadalafilled.com/">cialis generic over the counter</a> buy cialis without prescription
anonymous
Anonymous
2021年05月13日
scrum master resume <a href="https://writingacoverletteronline.com/">best way to make a resume</a> resume wizard
anonymous
Anonymous
2021年05月13日
objective in resume <a href="https://writingacoverletteronline.com/">professional letter writer service</a> business development resume
anonymous
Anonymous
2021年05月14日
sildenafil 100mg price walmart <a href="https://edviagramaster.net/">cost of viagra without insurance</a> viagra canadian pharmacy ezzz
anonymous
Anonymous
2021年05月14日
viagra <a href="https://edviagramaster.net/">viagra 100mg</a> herbal viagra
anonymous
Anonymous
2021年05月15日
100mg viagra <a href="https://sildenafilviagratop.com">generic sildenafil 20 mg</a> walgreen viagra
anonymous
Anonymous
2021年05月15日
taking viagra for fun <a href="https://sildenafilviagratop.com">viagra otc</a> where to buy female viagra
anonymous
Anonymous
2021年05月15日
cialis generics <a href="https://cialisortadalafil.com/">cialis over the counter</a> cialis side effect
anonymous
Anonymous
2021年05月16日
cialis substitute <a href="https://cialisortadalafil.com/">cialis for bph</a> cialis 5mg daily
anonymous
Anonymous
2021年05月17日
cialis price walmart <a href="https://topcialistabs.com/">tadalafil citrate liquid</a> do you need a prescription for cialis in canada
anonymous
Anonymous
2021年05月17日
does cialis expire <a href="https://topcialistabs.com/">generic name for cialis</a> cost of generic cialis
anonymous
Anonymous
2021年07月19日
<a href="https://krasota4u.ru">where to get generic trazodone without insurance</a>
anonymous
Anonymous
2021年07月25日
Medication prescribing information. Drug Class. <a href="https://plaquenil4people.top">how can i get cheap plaquenil</a> in Canada All information about pills. Get here.