Didactical material
Name __________________ Class ______________________
Objective: 10.3.3.3 link a webpage to a database
1. Write a correct syntax to include a file named "footer.php".
<?php _____________________;?>
2. Assume we have a file named "webdict.txt", write the correct syntax to open and read the file content.
echo ______________________________;
3. Create a cookie named "username".
______________("username", "John", time() + (86400 * 30), "/");
4. Open a file, and write the correct syntax to output one character at the time, until end-of-file.
$myfile = fopen("webdict.txt", "r");
while(!___________________($myfile)) {
echo ____________________($myfile);
}
Материалы на данной страницы взяты из открытых источников либо размещены пользователем в соответствии с договором-офертой сайта. Вы можете сообщить о нарушении.