Write a PHP script for the following: Design a form to accept the directory name/ file name from the user. Perform the file operations and show the results. a) Display size of file b) Display details about owner of file c) Display type of file d) Copy a file
Write a PHP script to design a form to accept Department information (dno, dname, location). Once the department information is accepted, accept employee information (Emp_no, Emp_name, Salary) on the next form. Display the department information and employee information collectively on the third page.
Consider the following relational database: Department (Deptno, Deptname, Location) Employee (Empno, Empname, Deptno, Salary) Write a PHP script to accept Department name and display list of employees those who are working in that department.
Write a PHP script to create a smiling face with the string “Smiley” below the mouth.
Write a PHP script to read a flat file student.dat that has student details as mo, name, m1, m2, m3 as marks of 3 subjects. Display the data from the file in a tabular format. Also display total and percentage of each student.
Write PHP script for the following: Design a form to accept the username and password from the user. Once the user logs in, the second form should be displayed to accept the user details (Customerid, CustomerName, Address). If the user does not enter the information within the specified time limit, expire the session and display a warning message.(use session or cookies)
Write a PHP script to change the preferences of your web page like font style, font size, font Color, background color using cookie. Display selected settings on next web page and actual implementation (with new settings) on third web page.
Write a PHP program to perform the following operations. (a) Union of two arrays. (b) Traverse the array elements in random order. (c) Calculate sum of array elements. (d) Check the array element is negative or not using filter.