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 代码
删除
恢复自动保存:
?