Skip to main content
6 events
when toggle format what by license comment
Aug 6, 2014 at 16:52 comment added kzidane it was stored in these variables if it's returned from a function or loaded from a file). I'm sorry if I'm giving this more than it actually deserve. This was just a question that came out of curiosity. I may go deeper than that later. Thanks anyway!
Aug 6, 2014 at 16:50 comment added kzidane I actually expected a more specific answer than that assuming that these super global variables are created and initialized at some point definitely by the web server. I just wanted to know whether the web server sort of executes some commands to do this job and how it does that (in case it already does). I know that the data is loaded in memory of course since it's stored in these variables, but I was asking how it was loaded in memory at the first place to access it using these variables (I'm talking about form data specifically (or user input more generally) since it's easy to imagine how
Aug 5, 2014 at 17:26 comment added Air @Kareem The $_GET and $_POST variables are accessing some data that's loaded into memory. The data comes from the request, as shown in the image. Before that, the data might have come from user input, from a calculation in a function, from a file somewhere on the server, or any number of places. Databases are good structures for storing certain types of information, but not all information on the server is stored in a database.
Aug 5, 2014 at 17:03 comment added kzidane So basically data are stored in databases on the web server which is accessible for PHP and JavaScript environments?
Aug 5, 2014 at 16:38 history edited Air CC BY-SA 3.0
added 431 characters in body
Aug 5, 2014 at 16:33 history answered Air CC BY-SA 3.0