-
Design the following static web pages required for an online book store web site.
- Home Page
- Login Page
- Registration Page
- Catalogue Page
- Cart Page
- Payment by Credit Cart
-
Create and save an XML document on the server, which contains 10 users information. Write a program, which takes User Id as an input and returns the user details by taking the user information from the XML document.
-
Write a PHP script to merge two arrays and sort them as numbers in descending order.
-
Write a PHP script that reads data from one file and write into another file.
-
Write a PHP script to print prime numbers between 1-50.
-
Write a PHP script to:
- Find the length of string.
- Count number of words in a string
- Reverse of a string
- Search for a specific string
-
Write JavaScript to validate the following fields of the registration page.
- Name (Name should contains alphabets and the length should not be less than 6 characters).
- Password (Password should not be less than 6 characters length).
- Confirm password(Password and confirm password should be same).
- E-mail id (should not contain any invalid and must follow the standard pattern name@domain.com).
- Phone number (Phone number should contain 10 digits only).
-
Create a table which should contain at least the following fields: name, password, email-id, phone number(these should hold the data from the registration form). Practice 'JDBC' connectivity. Write a JSP to connect to that database and extract data from the tables and display them. Insert the details of the users who register with the web site, whenever a new user clicks the submit button in the registration page.
-
Write a JSP to authenticate the user when he submits the login form using the user name and password from the database. If details are valid display welcome message otherwise display warning message.