Suppose the Government of US hired you as a web developer. They want you to develop a website like National Command and Operation Center (NCOC). Their requirements are high performance, secure, scalable, and easy to use.
Being a web developer, you need a programming language that can help you build feature-rich interactive web solutions. You have two options PHP and Python as programming languages. PHP and Python are the most popular languages among web developers. Both languages are powerful and popular programming languages. So, being a developer, which language will you prefer to develop the website? Justify your answer with solid reason.
Suppose you are an excellent web application programmer and you have just been employed by a credit finance company (Nokofio Credit, Savings and Loans Ghana Limited). Few months after your engagement, your boss inform you about management’s decision to maintain a high public image as the leading savings and Loans Company in Ghana. He also said they were torn between developing it in-house and hiring AmansaWebs a reputable computer software solutions provider with an excellent record of web application development in the country to execute this task. Write to your boss, the IT Director convincing him/her that you have the critical knowledge necessary to execute this task to management’s satisfaction.
1) write a PHP code segment to keep track of the page visits by using a cookie. Cookie will keep track of how many pages the user has visited in the site. Assume the code segment is written on each and every page
2) write a PHP code segment to keep to track of the page likes by using a session. In the first page user visits the session should be created and then the session should keep track of how many pages the user is liking.
assume the code is written on top of each and every page.
write a PHP code segment to keep track of the page visits by using a cookie. Cookie will keep track of how many pages the user has visited in the site. Assume the code segment is written on each and every page
what do you wish to calculate:
area perimeter
enter values ______ submit<----button
the page allows the user calculate area or perimeter of a parallelogram. First user will select an option, then enters necessary parameters separated by comma. write a JavaScript function called shapeFormulas(0 to calculate and display area or perimeter in an alert.
the function should display an error if user does not follow the required input format.
Area : base x height
perimeter : 2 x (side1+side2)
example one
user select area
input:5,10
output: the area is : 50
example two
user select perimeter
input:5,10
output:the perimeter is:30
example three
user select Area
input: 2 3
output: Invalid parameters
Explain the PHP code segment given below.
if(isset($_SESSION["uname"])) {session_destroy();}
how to connect xampp server with php
If you design a user interface for login and place buttons far apart and small in visibility. Which phenomenon would be adopted to correct this problem? Explain in detail