K-NOTE

ポイ活とかスマホアプリ開発とか気の向くままに

当ブログの内容等の正確性は保証しません。ご利用は自己責任で!

PHP

【PHP】Invalid argument supplied for foreach()

PHP

PHPでプログラム組んでたら、以下のWarningが出た。 Invalid argument supplied for foreach()

【セキュリティ】phpMyAdminを狙ったスキャン

PHP

Apacheのアクセスログを見ていたら、変なアクセスがあった。 "GET /w00tw00t.at.blackhats.romanian.anti-sec:) HTTP/1.1" 404 239 "-" "ZmEu" "GET /phpMyAdmin/scripts/setup.php HTTP/1.1" 404 226 "-" "ZmEu" "GET /phpmyadmin/scripts/setup.php HTTP/1…

【PHP】It is not safe to rely on the system's timezone settings

PHP

たまたまApacheのエラーログを見たら、下のようなエラーが出力されていた。 PHP Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_defa…

【PHP】Use of undefined constant

PHP

たまたまApacheのエラーログを見たら、下のようなエラーが大量に出力されていた。 PHP Notice: Use of undefined constant abc - assumed 'abc' in /var/www/test.php on line 20