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

Data Held for Ransom in 70 Countries; Massive Cyber Attack Hits Russia Hard

London:  A huge extortion cyberattack hit dozens of nations Friday, holding computer data for ransom at hospitals, telecommunications firms and other companies. The attack appeared to exploit a vulnerability purportedly identified for use by the US National Security Agency and later leaked to the internet. The attack hit Britain's health service, forcing affected hospitals to close wards and emergency rooms. Related attacks were reported in Spain, Portugal and Russia. Two security firms — Kaspersky Lab and Avast — said they had identified the malware behind the attack in upward of 70 countries, although both said the attack has hit Russia hardest. The Russian Interior Ministry has confirmed it was hit by the "ransomware" attack, which encrypts data on infected computers and demands payment, usually via digital currency bitcoin, to release it. Britain's health service was also hit hard Friday as the attack froze computers at hospitals across the country, ...
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...