隠しフィールドを使う

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>隠しフィールドを使いたい</title> </head> <body> 結果:</p>'; echo '<p>隠しデータは?: ' . h(@$…</p>

チェックボックスを使う

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>チェックボックスを使いたい</title> </head> <body> 結果:</p>'; echo '<p>チェックボックス</p>'; i…

ラジオボタンを使う

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ラジオボタンを使いたい</title> </head> <body> 結果:</p>'; echo '<p>ラジオボタン</p>'; echo …

セレクトメニューを使う

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>セレクトメニューを使いたい</title> </head> <body> 結果:</p>'; echo '<p>セレクトメニュー</p>'; e…

パスワードボックスを使う

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>パスワードボックスを使いたい</title> </head> <body> 結果:</p>'; echo '<p>パスワードボックス</p>';…

テクストエリアを使う

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>テキストエリアを使いたい</title> </head> <body> 結果:</p>'; echo '<p>テキストエリア1(cols属性に5…</p>

テキストボックスを使う

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>テキストボックスを使いたい</title> </head> <body> 結果:</p>'; echo '<p>テキストボックス(初期値を指定)…</p>

CSVファイルを出力する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>CSVファイルを読み込みたい</title> </head> <body> </body></html>

CSVファイルを読み込む

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>CSVファイルを読み込みたい</title> </head> <body> </body></html>

ディレクトリ内のディレクトリやファイル名を取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ディレクトリ内のディレクトリやファイル名を取得したい</title> </head> <body> </body></html>

ディレクトリを削除する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ディレクトリを削除したい</title> </head> <body> </body></html>

ディレクトリが使用可能な容量を取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ディレクトリが使用可能な容量を取得したい</title> </head> <body> </body></html>

絶対パス名を取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>絶対パス名を取得したい</title> </head> <body> </body></html>

パス名からディレクトリ名を取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>パス名からディレクトリ名を取得したい</title> </head> <body> </body></html>

ディレクトリを作成する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ディレクトリを作成したい</title> </head> <body> </body></html>

ファイルを削除する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルを削除したい</title> </head> <body> </body></html>

ファイルをコピーする

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルをコピーしたい</title> </head> <body> </body></html>

ファイルが書き込み可能か調べる

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルが書き込み可能か調べたい</title> </head> <body> </body></html>

ファイルが読み取り可能か調べる

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルが読み取り可能か調べたい</title> </head> <body> </body></html>

ファイルが存在するか調べる

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルが存在するか調べたい</title> </head> <body> </body></html>

パス名からファイルを取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>パス名からファイル名を取得したい</title> </head> <body> </body></html>

ファイルの拡張子を取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルの拡張子を取得したい</title> </head> <body> </body></html>

ファイルのサイズを取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルのサイズを取得したい</title> </head> <body> </body></html>

ファイルの最終更新日時を取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルの最終更新時刻を取得したい</title> </head> <body> </body></html>

ファイル処理の流れ

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルを扱う処理の流れは?</title> </head> <body> </body></html>

ファイルのデータをまとめて取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルのデータをまとめて取得したい</title> </head> <body> </body></html>

ファイルから指定バイト数ずつ取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルから指定バイト数ずつ取得したい</title> </head> <body> </body></html>

ファイルのデータを取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ファイルのデータを取得したい</title> </head> <body> </body></html>

fopne()関数を使わずにファイルにデータを書き込みたい

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>fopen()関数を使わずにファイルにデータを書き込みたい</title> </head> <body> </body></html>

一時ファイルにデータを書き込む

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>一時ファイルにデータを書き込みたい</title> </head> <body> </body></html>