php程式檔案要放在哪裡?

PHP-2

Quiz
•
Computers
•
11th Grade
•
Medium
邱建誌 邱建誌
Used 8+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C:\xampp\htdocs\
c:\htdocs\
c:\windows\
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若有c:\xampp\htdocs\test.php
則,執行的網址是?
http://127.0.0.1/test.php
http://168.95.1.1/test.php
http://8.8.8.8/test.php
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若有php程式檔,位置為
c:\xampp\htdocs\666\a.php
則執行的位址是?
http://127.0.0.1/a.php
http://127.0.0.1/666/a.php
http://127.0.0.1/6/a.php
http://127.0.0.1/666.php
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
程式錯誤,訊息如下:
Parse error: syntax error, unexpected token "echo", expecting "," or ";" in C:\xampp\htdocs\a.php on line 3
下列哪個程式會造成上述結果
<?php
echo "test"
echo "go"
?>
<?php
echo "test";
echo "go";
?>
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
PSPad上,存檔的快速鍵
瀏覽器上,重新整理的快速鍵
分別是?
Ctrl+A
Ctrl+V
Ctrl+S
F5
Ctrl+F5
Ctrl+S
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
中文編碼出現問題,需要在PSPad內做?
編碼→UTF8 BOM
檢視→行號
編碼→ANSI default
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若以php呈現左圖
港明有底線,則程式為?
<?php
echo "<u>港明</u>高中";
?>
<?php
echo "<u>港明高中</u>";
?>
<?php
echo "<b>港明</b>高中";
?>
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若要在php顯示圖片<img src='a.jpg'>,
則程式為?
<?php
echo "<img src='"a.jpg">";
?>
<?php
echo "<img src='a.jpg'>";
?>
<?php
echo <img src='a.jpg'>;
?>
<?php
echo "<img=a.jpg>";
?>
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
若要顯示如圖,
則指令為?
<?php
echo "阿福"很帥!;
?>
<?php
echo ""阿福"很帥!";
?>
<?php
echo "\"阿福\"很帥!";
?>
Similar Resources on Quizizz
12 questions
3er Parcial Informática VI

Quiz
•
9th - 12th Grade
13 questions
PHP & MySQL - 01 i 02

Quiz
•
11th Grade
10 questions
Introduction to PHP: Hypertext Preprocessor

Quiz
•
11th - 12th Grade
10 questions
HTML/CSS Quiz

Quiz
•
10th Grade - University
10 questions
Assesmen Dasar Laravel

Quiz
•
11th Grade
10 questions
PHP Basic

Quiz
•
11th Grade
14 questions
PHP & MySQL - 03

Quiz
•
11th Grade
10 questions
Dasar pemrograman PHP

Quiz
•
10th - 12th Grade
Popular Resources on Quizizz
39 questions
Respect and How to Show It

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade
20 questions
Insurance

Quiz
•
9th - 12th Grade
20 questions
Common Grammar Mistakes

Quiz
•
7th - 12th Grade
20 questions
Paying for College

Quiz
•
9th - 12th Grade
15 questions
Central Tendency

Quiz
•
9th - 12th Grade
20 questions
Banking

Quiz
•
9th - 12th Grade