PHP Tutorial (& MySQL) #38 - Cookies

  Рет қаралды 35,807

Net Ninja

Net Ninja

Күн бұрын

Пікірлер
@Anhjje
@Anhjje 4 жыл бұрын
Another tip: there's no way to unset a cookie, however, you can override the current cookie and simply use time() - 1000 - this will assign a new cookie that is already expired, hence "deleting" it
@nir8924
@nir8924 5 жыл бұрын
1:40 important advantage of cookies is when you have multiple servers and don't want to store session data on a database. Cookies are available in each request regardless of the server.
@tomluna5557
@tomluna5557 5 жыл бұрын
He is just one of a kind. thanks so much Shaun
@mralgorithms5127
@mralgorithms5127 5 жыл бұрын
u deserve more followers in this page
@Martin958
@Martin958 4 жыл бұрын
4:50 I don't understand why the brackets need to go outside the PHP code. Why not do it the same as the 'Hello' $name above it?
@nayem5137
@nayem5137 4 жыл бұрын
because in the header, we want to print something like "Hello Shuan(male)". These brackets are just for html to print. If you don't put those brackets, your php code will be still correct, but the page will show "Hello Shaunmale". The brackets are there to just separate "Shaun " and "male" with brackets in webpage. I hope you understand
@killerbidk477
@killerbidk477 Жыл бұрын
When I tried to add the select "option " field to the body I get the input field but not the select method even tho it's being added to the html I can find it on the inspect element but It's like it's not working when I remove the the select function I can see the 2 options displayed in the web page as strings which i think means that the options are working but not the select function it makes it invisible so I thought about changing it's css but still not working If I try to recreate it to a new html file it works any explanation pls?
@lefegoenterprise1455
@lefegoenterprise1455 4 жыл бұрын
Hi - Awesome Video !!! If you can, could you make a video on how to create links that store cookie data so we can use them for building affiliate networking sites. For e.g, In Clickbank, the user generates a 'Hoplink' so that it when somebody clicks the link it stores the details so that it can allocate the sales to the right people. Or do analytics
@TheSiprianus
@TheSiprianus 2 жыл бұрын
Based!
@alizalzar
@alizalzar 3 жыл бұрын
i keep getting the following error: Warning: Undefined array key "gender" in C:\xampp\htdocs\Tuts\templates\header.php on line 9 which refers to $gender = $_COOKIE['gender']; i removed the ?? 'Unknown' from the end because i understand the gender is returning undefined but i don't understand why because i am following the codes character by character! anyone else has the same issue?
@LovePromoter
@LovePromoter 3 жыл бұрын
Hi ninja
@MsChocolisious
@MsChocolisious Жыл бұрын
i am getting this notice a lot Notice: session_start(): Ignoring session_start() because a session is already active in C:\xampp\htdocs\tuts\templates\header.php on line 2
@perianka
@perianka 4 жыл бұрын
5:26 crystal methyd realness
@chiteshbansal3200
@chiteshbansal3200 4 жыл бұрын
Is this a complete tutorial series with 42 videos or it's a part of some tutorial series I have covered all these videos but still feel that lots of topics are yet uncovered
@reviewer3448
@reviewer3448 3 жыл бұрын
Hi, The gender is echoing out bad for chrome. Is there any chance you can give us an explanation of why it's doing this and a solution to it? Many thanks.
@username78657
@username78657 5 жыл бұрын
Can you do some tutorials on app development using kotlin Mr. Shawn?
@Anhjje
@Anhjje 4 жыл бұрын
welp this doesn't work, I even tried copy-pasting the git repo and it doesn't do anything on XAMPP running local apache SOLVED - I was using the wrong time format ( time() * 84600 instead of time() + 84600)
@neighbour1442
@neighbour1442 3 жыл бұрын
F to the cookie who disliked the video
@azoozym
@azoozym 2 жыл бұрын
Imagine someone come and criticize you coz you put only male and female😂 I will migrate to Mars
@ismayilmammadli2554
@ismayilmammadli2554 5 жыл бұрын
I expected to find Ajax tutorial at this playlist...
@emilantonov8171
@emilantonov8171 Жыл бұрын
ninjas only 2 genders.. Iove you mate xD
@MustafaBirsoz
@MustafaBirsoz 5 жыл бұрын
more genders please
@andrewilliams1974
@andrewilliams1974 5 жыл бұрын
Sorry but we're here to learn about programming not to change the world into what you selfishly want it to be. Wrong page.
@MustafaBirsoz
@MustafaBirsoz 5 жыл бұрын
@@andrewilliams1974 selfishly? change the world? hold your horses boi. :)
@foxasdf888
@foxasdf888 4 жыл бұрын
@@andrewilliams1974 True!!!!!
PHP Tutorial (& MySQL) #39 - File System (part 1)
6:36
Net Ninja
Рет қаралды 35 М.
PHP Front To Back [Part 17] - Cookies Tutorial
14:06
Traversy Media
Рет қаралды 71 М.
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
10 CSS Pro Tips - Code this, NOT that!
9:39
Fireship
Рет қаралды 2,2 МЛН
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,6 МЛН
Windows & macOS can't do this, but Linux can!
15:55
The Linux Experiment
Рет қаралды 996 М.
Login form using session and cookie with remember me in php
31:19
learnWebCoding
Рет қаралды 266 М.
100+ Web Development Things you Should Know
13:18
Fireship
Рет қаралды 1,6 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН