Question

In: Computer Science

How a piece of collected information remains in a server when the user inputs and even...

How a piece of collected information remains in a server when the user inputs and even if we transfer the user to another web server in PHP it still remains? I need an algorithm for that requirement without using MySQL or tables. I need to handle the data when the users enter it and handle it to show it to another server?

Solutions

Expert Solution

The PHP software works with the web server, which is the software that delivers web pages to the world. When you type a URL into your web browser’s address bar, you’re sending a message to the web server at that URL, asking it to send you an HTML file. The web server responds by sending the requested file. Your browser reads the HTML file and displays the web page.

You also request a file from the web server when you click a link in a web page. In addition, the web server processes a file when you click a web page button that submits a form. This process is essentially the same when PHP is installed. You request a file, the web server happens to be running PHP, and it sends HTML back to the browser, thanks to the programming in PHP.

More specifically, when PHP is installed, the web server is configured to expect certain file extensions to contain PHP language statements. Often the extension is .php or .phtml, but any extension can be used. When the web server gets a request for a file with the designated extension, it sends the HTML statements as is, but PHP statements are processed by the PHP software before they’re sent to the requester.


Related Solutions

Assume user will enter letters or numbers that are out of range. When user inputs invalid...
Assume user will enter letters or numbers that are out of range. When user inputs invalid values, show an alert message and ask user to enter a valid value again. Validate first and then proceed with the program. isNaN() method may be useful. Must validate user input. 1. Suggested Filename: fortune.html & fortune.js Write a program that simulates a fortune cookie. The program should display one of five unique fortunes, depending on user input. The user must enter a number...
What happens when the limits imposed by traditional carriers no longer constrain the information? information remains...
What happens when the limits imposed by traditional carriers no longer constrain the information? information remains bound to the physical objects that traditionally carried it nothing happens rich information can be more easily provided to a larger audience rich information cannot be easily provided to a larger audience
Please answer the following questions 1) Suppose the user inputs “Good Morning!” in the console when...
Please answer the following questions 1) Suppose the user inputs “Good Morning!” in the console when running the following code. What will be printed to the console? char word[100] ; cout << “Type a word: “; cin >> word; cout << word << endl; 2) What is the value of myStr[5] after the following code? char myStr[100] = “Good!”; 3) Suppose we have a string variable that contains a string with a length of N, what is the index of...
"4. (Modify) Modify Program 7.14 so that the user inputs the initial set of numbers when...
"4. (Modify) Modify Program 7.14 so that the user inputs the initial set of numbers when the program runs. Have the program request the number of initial numbers to be entered." //C++ Program 7.14 as follows #include #include #include #include using namespace std; int main() { const int NUMELS = 4; int n[] = {136, 122, 109, 146}; int i; vector partnums(n, n + NUMELS); cout << "\nThe vector initially has the size of " << int(partnums.size()) << ",\n and...
How do I add a method to make sure that the user inputs in uppercase only...
How do I add a method to make sure that the user inputs in uppercase only and anything entered in lower case throws an error as well as to make sure when they are halving the questioned number they don't enter any decimals? import java.util.*; public class TestCode { public static void main(String[] args) { String choice = "YES"; Random random = new Random(); Scanner scanner = new Scanner(System.in); ArrayList data = new ArrayList(); int count = 0,correct=0; while (!choice.equals("NO"))...
How do you validate in pseudocode a "REPEAT" "UNTIL" loop? For example if a user inputs...
How do you validate in pseudocode a "REPEAT" "UNTIL" loop? For example if a user inputs invalid data there should be an error message that reprompts for correct data. To show this can you write Pseudo Code for the following problem? Create an application that can determine the yearly bonus for all company employees. Not all employees are eligible for a yearly bonus. Only employees that have been with the company longer than 2 years and must have been given...
There are numerous times when the information collected from a real organization will not conform to...
There are numerous times when the information collected from a real organization will not conform to the requirements of a parametric analysis. That is, a practitioner would not be able to analyze the data with a t-test or f-test (ANOVA). Presume that a young professional had read about tests—such as the Chi-Square, the Mann-Whitney U test, the Wilcoxon Signed-Rank test, and Kruskal-Wallis one-way analysis of variance—and wants to know when it is appropriate to use each test, what each test...
how to access server room, and how to remove signs when exit the gate door.
how to access server room, and how to remove signs when exit the gate door.
Ask the user how many days that they collected gems. A loop you write should loop...
Ask the user how many days that they collected gems. A loop you write should loop how many days the user enters. If the user enters 5 days, then the loop should loop 5 times to collect the data from each day. So, each loop iteration represents a day. In each loop iteration, ask the user how many gems they collected that day. After the loop finishes gathering the data for each day, calculate the total and average gems collected....
Why is it necessary for the estimator to visit the site even when extensive site information...
Why is it necessary for the estimator to visit the site even when extensive site information is provided in the bid documents?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT