programming

Cards (5)

  • $_SESSION['variable'] : Identify the PHP function used to retrieve the value of a specific session variable.
  • HTTP POST method
    Method used to send larger amounts of data, such as form data, in the request body instead of the URL.
  • HTTP GET method
    Method used to send small amounts of data, such as a username or a search query, in the URL.
  • Check if variable is set
    Use `isset()` function or the null coalescing operator `??` to check if the variable is set before using it, to avoid any undefined index error.
  • PREG_OFFSET_CAPTURE to find the position in the input string in which the matches were found