26: POST and GET Superglobals in PHP | PHP Tutorial | Learn PHP Programming | PHP for Beginners

26: POST and GET Superglobals in PHP | PHP Tutorial | Learn PHP Programming | PHP for Beginners

Dani Krossing

8 лет назад

184,474 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Joburg Pilgriimer
Joburg Pilgriimer - 27.04.2023 20:21

You are the best please

Ответить
Alan Editor
Alan Editor - 19.01.2023 15:00

finally i know how to use them !!!! amazing tutorial you saved my life !!

Ответить
King Typhoon
King Typhoon - 12.10.2022 23:27

This is just a good no nonsense tutorial!

Ответить
amin alamdarloo
amin alamdarloo - 08.06.2022 23:51

Dear dani
Tnx for your video .
I need to know how i can appear the captcha code in busy or overloaded sites when tis not shown ( just show the image box ) by get and post method.

Ответить
John Denver Maiso
John Denver Maiso - 17.05.2022 03:46

wow thank you, now i can have fun!

Ответить
Bastian Aruan
Bastian Aruan - 14.04.2022 08:55

Thank you very much

Ответить
Estefanny tavarez hernamdez
Estefanny tavarez hernamdez - 11.03.2022 00:49

Yq

Ответить
Geek Girl
Geek Girl - 02.12.2021 13:50

honestly can't thank you enough for this tutorial, I was going mad trying to understand this, but this video helped so muchhhhh

Ответить
Oriental Melodies 2010
Oriental Melodies 2010 - 23.08.2021 22:36

Amazing video, exactly what I was looking for, thank you!

Ответить
CrackScratch
CrackScratch - 02.08.2021 15:31

Hi! when i make an echo with a $_POST variable, it shows normal, but if i pass it to JS and then getelementbyid the program adds like symbols

Ответить
Mathews Joby
Mathews Joby - 16.06.2021 13:39

This is nice!

Ответить
Gabriele Somaschini
Gabriele Somaschini - 28.05.2021 12:24

shitty tutorial

Ответить
Tomislav zigo
Tomislav zigo - 18.12.2020 07:37

Great Work. This was very helpful!

Ответить
David Ashby
David Ashby - 05.12.2020 23:18

Hi, I have written an annonymous function that works once a page is loaded but upon first landing on the site I get undefined function as in the address bar the ?page=home is missing. The title shows the correct title, Home Page, and the body of text that I have also shows the page name but still I get the error.

Do you have a tutorial covering this, I cannot locate one, or are you thinking of doing 1?

$page = $_GET["page"];

$getPage = function() use ($page){

if(isset($_GET["page"])){
echo ucfirst($page) . " Page.";
} else {
echo "Home Page";
//This echo is being used on first landing on site
// by the title and the body of text naming the page
// Home page.
}

};

Call it by

$getPage();

Thanks

Ответить
Marine Outsource
Marine Outsource - 29.08.2020 15:56

Please make a video to prevent retainig the value when back button is pressed and to prevent resubmission using that back button data that was retained. I hope you knew what I meant / thanks

Ответить
Sergio Silva
Sergio Silva - 30.07.2020 19:26

Thanks! It was very helpful.

Ответить
Lawrence Michael
Lawrence Michael - 15.07.2020 15:57

Let's not skip ads for this guy.
He deserves it.

Ответить
EL EL
EL EL - 26.02.2020 21:33

Another great lesson. I think that sending user data (on a login page) over the URL would be a security risk so would want to use POST. I guess I will find out if I am right in following lessons.

Ответить
Tao Spencer
Tao Spencer - 20.02.2020 13:01

hello just echoed out ```echo "<p>bin2hex(360)</p>" ``` Why does this return 333630 to the page?

Ответить