Skip to main content

BCA 401 WEB DEVELOPMENT USING PHP (II)




1.       Explain file handling function with syntax and example
2.       Explain array function with syntax and example
3.       What is Regular Expression Function?  Explain types of regular expression function
4.       Explain regular expression functions with syntax and example
5.       What is PHP Session? Explain with syntax
6.       What are the advantages of using session in web application?
7.       Explain different techniques for session tracking with example
8.       What is PHP Cookie?
9.       Explain different methods of Cookies with syntax and example
10.   Explain advantages and disadvantages of using cookie in the PHP Application
11.   Explain detailed steps to connect MYSQL with PHP
12.   What is inheritance, constructor, class?
13.   What is XML? How it is useful in PHP? Explain with suitable example

  
Practical List
1). Create a PHP application that takes the user information and store the information into the file called userinfo.txt when user clicks on submit the next page will appear and it will read all the information from the file.
2). Create a PHP application that create the table from PHP file called EMPLOYEE (Emp_no, Employee_Name, Employee_Address, Emp_Phone, Emp_Email, Emp_UserName, Emp_Password).
Note:Emp_No should be autoincremented
3). Create a PHP application that stores the detail about the Employee using employee registration form and on the successful insertion give user the success message.
4).Create a PHP application that create the cookie when employee insert the information from the page and stores the Emp_UserName in the cookie and retrieve the cookie on the next page.
5).Create a PHP Login form that check the Emp_UserName  and  Emp_Password from the database and count the pageview using the session.
6).Create a PHP application that have the login page if the user is already registered, new user link for user registration and the orderpage from which he/she can place an order for the particular item and can exit from the site using logout button.
(Create appropriate database for application)









Comments

Popular posts from this blog

New software continuously scrambles code to foil cyber attacks: Technique sets a deadline on hackers to severely limit chances of success

New software continuously scrambles code to foil cyber attacks: Technique sets a deadline on hackers to severely limit chances of success : As long as humans are writing software, there will be coding mistakes for malicious hackers to exploit. A single bug can open the door to attackers deleting files, copying credit card numbers or carrying out political mischief. A new program called Shuffler tries to preempt such attacks by allowing programs to continuously scramble their code as they run, effectively closing the window of opportunity for an attack.
The board of Snapdeal is expected to meet tomorrow to discuss the potential sale of India's third largest e-commerce firm to larger rival Flipkart. Also, on the agenda will be getting Nexus Venture Partners (NVP), an early investor in Snapdeal, to agree to the sale deal. The seven-member board of Jasper Infotech, which operates Snapdeal, includes representation from investors SoftBank, Kalaari Capital and Nexus Venture Partners (NVP), as well as co-founders Kunal Bahl and Rohit Bansal. The valuation of Snapdeal is believed to be one of the hurdles to the deal, as Kalaari and NVP were not in agreement with the valuation given by SoftBank, which is the largest shareholder in Snapdeal. SoftBank has now succeeded in getting Kalaari (another early-stage investor in Snapdeal) to agree but is yet to get NVP on board for the deal. The sources said once NVP agrees, the deal with Flipkart could be announced in a matter of weeks. The deal with Flipkart, if it happens, would...