Write a program to add Watermark to the file and display it on the screen.
Write a PHP script to generate an XML in the following format <?xml version ="1.0" encoding = "ISO-8859-1" ?> <BookStore> <Books> <PHP> <title>Programming PHP</title> <publication>O‘RELLY</publication> </PHP> </Books> </Bookstore> (Use DOM)
Write a PHP script for the following: Define an interface which has methods area(), volume(). Define constant PI. Create classes sphere, cylinder which implements this interface and calculate area and volume. (Use define())
Write PHP script for the following: Define Class declarations and member funtction definitions for Student(rollno, name, academic_year). Design derived classes as Internal(marks, total), External(marks, total). Perform the following operations and show the results: a) Accept the details from the user. b) Show the result along with all details and total marks as addition of marks of Internal and External. (Use radio buttons)
Write a PHP script for the following: Define an interface for queue operation, Implement this interface in the class.
Design a form to accept the input values from the user for Bank Loan: Loan_Account_No, Loan_Amount, Rate_of_Interest, Tenure(Period in years for the loan) Refer Diagram1. Write a PHP script to calculate the EMI amount, Number of EMIs and the final amount of payment (addition of all EMIs) Refer Diagram 2. (Use concept of user-defined functions)
Write a PHP script for the following: Design a form to accept 3 strings from the user. Perform the following operations on strings and show the results. a) Find the string2 in string1. b) Replace the string2 by string3 in string1. c) Compare string 2 with string3. d) Convert all the strings to Upper case e) Convert all the strings to Lowercase (Use Radio Buttons)
Write a PHP Script to check if the string is palindrom or not using stack
Write a PHP script for the following: Design a form to accept a number from the user. Perform the operations and show the results. a) Factorial of a number using Recursion b) Add the digits of that number to reduce it to single digit. c) Generate a series of all even numbers till the given number.