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, ...

social media marketing

Leveraging the power of content and social media marketing can help elevate your audience and customer base in a dramatic way. But getting started without any previous experience or insight could be challenging. It's vital that you understand social media marketing fundamentals. From maximizing quality to increasing your online entry points, abiding by these 10 laws will help build a foundation that will serve your customers, your brand and -- perhaps most importantly -- your bottom line. 1. The Law of Listening Success with social media and content marketing requires more listening and less talking. Read your target audience’s online content and join discussions to learn what’s important to them. Only then can you create content and spark conversations that add value rather than clutter to their lives. 2. The Law of Focus It’s better to specialize than to be a jack-of-all-trades. A highly-focused social media and content marketing strategy intended ...