2011-12-01から1ヶ月間の記事一覧

ファイルを削除する

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>

日別のログファイルを作成する

PHP

関数の平均実行時間を測定する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>関数の平均実行時間を測定したい</title> </head> <body> </body></html>

PHPでベンチマークを取得する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>ベンチマークを取得したい(1)</title> </head> <body> </body></html>

PHPの設定を一時的に変更する

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>PHPの設定を一時的に変更したい</title> </head> <body> 設定変更前の include_path の値:</p>'; ec…

PHPの設定を調べる

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>PHPの設定を調べたい</title> </head> <body> ini_get()関数で include_path の設定値を取得:</body></html>

カンマやスペース区切りの文字列を分割して配列にする

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>カンマ区切りの文字列を分割して配列にしたい</title> </head> <body> </body></html>

配列を連結して1つの文字列にする

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>配列を連結して1つの文字列にしたい</title> </head> <body> </body></html>

配列の全ての要素を一括処理する(array_map)

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>配列のすべての要素を一括処理したい(array_map)</title> </head> <body> </body></html>

配列の全ての要素を一括処理する(array_walk)

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>配列のすべての要素を一括処理したい(array_walk)</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> 配列の指定範囲を置き換える</p>'; $data1 = array…

配列の指定範囲を取り除く

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>配列の指定範囲を取り除きたい</title> </head> <body> 配列の指定範囲を取り除く</p>'; $data1 = array(…

配列の末尾を取り除く

PHP

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>配列の末尾を取り除きたい</title> </head> <body> <ul> </ul></body></html>