1) What is the php tag a) <php> </php> b) <php ... /> c) <?php ?> 2) How do you echo something in PHP a) echo["Hello World"] b) echo "Hello World" c) echo Hello World d) echo "Hello World"; 3) How do you concatenate a string? a) echo "Hello" .$var. "World"; b) echo "Hello" + $var + "World"; c) echo "Hello" plus $var plus "World"; d) echo concatenate("Hello" .$var. "World"); 4) What does PHP stand for a) Probably Hyped Programming b) PHP: HyperText Processor c) Print Hard Programs 5) What is the PHP logo a) b) c) 6) What is the difference between $_GET and $_POST a) It is the same b) IDK lol c) $_GET is used for a form with an method of $_POST, and $_POST is used for a form with an method of $_GET d) $_GET is used for a form with an method of $_GET, and $_POST is used for a form with an method of $_POST 7) Is PHP safe? a) Yes it is completely b) Not at all in any way c) Yes, provided you use PDO for SQL queries 8) What does htmlspecialchars() do? a) It creates random HTML characters b) It encodes special HTML special characters, instead of actually "executing the HTML code" c) It makes the HTML feel better than CSS and JavaScript 9) Can you use PHP with SQL a) Yep b) No c) WDYM??? d) IDK 10) Does htmlspecialchars() prevent SQL injection attacks? a) No, it doesn't. It isn't effective against SQL attacks. Using prepared statements is better b) Yes, It does, because it converts special characters, right?
0%
PHP
共有
共有
共有
26gurudathmanus
さんの投稿です
CS
コンテンツの編集
印刷
埋め込み
もっと見る
割り当て
リーダーボード
もっと表示する
表示を少なくする
このリーダーボードは現在非公開です。公開するには
共有
をクリックしてください。
このリーダーボードは、リソースの所有者によって無効にされています。
このリーダーボードは、あなたのオプションがリソースオーナーと異なるため、無効になっています。
オプションを元に戻す
飛行機
は自由形式のテンプレートです。リーダーボード用のスコアは生成されません。
ログインが必要です
表示スタイル
フォント
サブスクリプションが必要です
オプション
テンプレートを切り替える
すべてを表示
アクティビティを再生すると、より多くのフォーマットが表示されます。
オープン結果
リンクをコピー
QRコード
削除
自動保存:
を復元しますか?