Skip to main content

Command Palette

Search for a command to run...

PHP short notes

Get and Post (form handling).

Published
1 min readView as Markdown
PHP short notes
L

I've got accomplished web development with expertise in various programming languages including PHP, Laravel, C#, and C++. My curiosity to learn more and my passion for coding drives me to constantly enhance my skills and create exceptional digital experiences.

  1. Both get and post creates an array (get and post are superglobals).

  2. $_GET is an array of variables passed to the current script via the URL parameters.

  3. $_POST is an array of variables passed to the current script via the HTTP POST method.

  4. When to use Get and Post-> get is used for less secure information however passwords couldn't be used with get and post is used to transfer form information(multipart binary input).