Professional Documents
Culture Documents
1
Name: Aruna
Enrollment no:00390302021
Write a program that use various PHP library
L-18
functions, and that manipulate files and directories.
Write a program to read and display the content of
L-19
previously created file.
Write a program to modify the content of an existing
L-20
file.
Create a web page and which provides File uploading
L-21
and downloading a file.
Design a from which upload And Display Image in
L-22
PHP
Use phpMyAdmin and perform the following:
L-23 import, review data and structure, run SQL
statements, create users and privileges.
L-24 Write a program to create a mysql database.
Writeaprogram to create atable and insert few records
L-25
into it using form.
Write a program to select all the records and display it
L-26
in table.
L-27 Writeaprogram to modify (delete/modify/add)atable.
Write a PHP Script, to check whether the page is
L-28
called from https or http.
L-29 Write program to verify text data as per the pattern.
Create a dynamic website by incorporating the
following functionalities:
· Implement a basic registration and login
system, with styling,
· Make the database connection
· Make a connection to a MySQL database,
and log in with valid credentials.
L-30
· Create Dynamic, interactive and database - Driven
web application using php & mysql
· Perform some validation check. If any of these
operations cause an error, stop execution and print the
error message. The script should respond differently
depending on the situation.
Add a “Log Out” button to logout from the system
2
Name: Aruna
Enrollment no:00390302021
Ques 2 :- Write a program to show the usage of nested if statement.
Code:
<?php
$a=10;
$b=40;
$c=50;
if($a>$b)
{
if($a>$c)
echo $a." is greater.";
else
echo $c." is
greater."; }
else if($b>$a)
{
if($b>$c)
echo $b." is greater.";
else
echo $c." is
greater."; }
?>
Output:
3
Name: Aruna
Enrollment no:00390302021