PHP Tutorials: Register & Login (Part 3): Breaking up the Template

preview_player
Показать описание

Official site

Twitter
Рекомендации по теме
Комментарии
Автор

My my mind was blown.
One of the problems I was facing with webdesign was "well I have this nice menu, but transferring it to a new web host would mean I have to change all of these links in each of these index pages."
But I slid that trouble to the side to learn about making a secure login form.
BUT YOU SIR!!! You came along and say NO! I shall show you how to do it and you won't even expect it.
I can't believe I didn't consider using PHP includes for this though.
Thanks bro.

Microtardz
Автор

this method is absolutely amazing... I will never go without slicing up a page again... THANK YOU!

Josh
Автор

Alex, I learn more from your videos than from my lecturers. thank you

guramika
Автор

The last two videos are really helpful if you are making a wordpress theme too. Good work. If you don't understand this stuff, you should consider watch the beginner tutorials on html/css/php/javascript, before attempting a login website

HDDesign
Автор

Everything here is great. Includes are the number one feature to in include (no pun intended) in any dynamic website. If I could make one suggestion though. If widgets are to be truly moulder, they can't be conditional includes, the widget has to exist by it self then be conditional within the widget. One login widget with conditions within the widget is the best way to go.

toombs
Автор

Thank you alex, I learn more from you, than from my uni

sambulosendacs
Автор

because the file is still read from the includes folder, so you should put it like include 'includes/menu.php'

basically why this is, is because header.php is called upon to act in index.php, once this is done it finds another include in the header file you have just imported into your index file, so it needs to go back into the includes folder again for the menu.php file

JasperBosman
Автор

Everything works perfectly, stop complaining and pay more attention!

TheForgottenEdge
Автор

I'm impressed! thx for this tutorial.
But i have one question: the side-title in the head.php is still the same. can i change it from side to side?

uelirenggli
Автор

If the css isn't showing, try copy and pasting or moving the css file into the includes folder

ellejay
Автор

Oh, no, by no means bored death! Your solutions are very elegant ;)

neinundnein
Автор

I think you can declare a variable like $pagetitle before including the head.php file, which would take that variable as the title.

otacon
Автор

How do you get rid of the indents on multiple lines at once on notepad++? Thanks for this awesome tutorial!

Mydoritosontheground
Автор

Was just wondering.. is there a noticeable drop in performance if one uses so many includes? Thanks!!

gjl
Автор

Breaking up doesn't work for me. When I beak up everything it shows a clear website (I created my own template :D )

HyprzockrMC
Автор

Press Tab to indent. And if you want to outdent press Shift + Tab. Try both of them with a unorganized code. You'll come to know the difference.

VijayNandwani
Автор

Where am I supposed to download the css page?
I'm just going to code it myself as I've screenshotted when he went onto the css page so I now have the code but is there a easier way to get it? I didn't see anything on the site.

bluffer
Автор

where do i get the css file exactly, tell me

VDEngineering
Автор

i am getting multiple errors with the function "include" when am previewing my work in the browser it brings the codes 

nathanaelscott
Автор

Is there a tutorial without the breaking up of website, i do know what im doing but the breaking up is OTT im tryin to find a good secure login system without includes or without so many 3 or 4 tops

richardjbarrett