JavaScriptを使用したスクリプトを記述していて、条件による分岐を いちいち記述していくのが面倒だなーと思ったことはないでしょうか。 そんなときにちょっぴり役に立つ技を紹介したいと思います。 それは読み込むJavaScriptファイルをPHPで記述してしまう ...
When an IT manager requests reports, you can practically guarantee that they'll expect to see graphical representations of figures within those reports. You could either buy a third-party reporting ...
PHPを使って開発を始めるための手順は、PHPのインストール、設定、基本的なプロジェクトの準備が必要です。 以下は、PHPの環境をセットアップし、簡単なPHPプログラムを実行するための手順です。 必要なソフトウェアのインストール まず、PHPを ...
皆さんは同じスクリプトへのリンクを貼る時、どの様に記述していますか? $_SERVER['PHP_SELF']を用いることがあるのではないでしょうか。これを直接用 いることは危険です。なぜならば、$_SERVER['PHP_SELF']にはクロスサイト・ス クリプティング(XSS)脆弱性が ...
When you execute a PHP script from another PHP script and pass data using URL parameters, those parameters are visible on the address bar. A user can see and change the parameters. It's possible to ...
Community driven content discussing all aspects of software development from DevOps to design patterns. Don’t fret if you’re a developer with an Apache web server and the goal is to code an HTML5 and ...
I need to add a clock to my homepage which displays the current time (web server time).<BR> <BR>The following below uses javascript to display the current time in an input field.<BR><BR>It gets the ...