16 thoughts on “PHP Tutorials: Dynamic pages (Update)”
AlanJames1987
Is someone vacuuming in the background? Other than that it was a good tutorial.
hanzip
SEX-ion lols
sterlingfu2
Very nice job, just stop vacuuming while your doing it,lol
jjppmm29
you can use a else statement
ie
$section += ‘/’;
interrobanging
Really useful thanks – especially love the vaccuum cleaner!
teflondon58
i’m also a PHP developer… I’m looking to compose some tutorial videos like this.. is it hard to do
TheGolfSpace
Thanks for this video. I love to watch php tutorials so I can learn. But next time tell them not to run the vacuum!
punxz18
if i’m not mistaken this is for 1 section only(correct me if i’m wrong), how about when i have multiple directories, lets say i have 2 directories the inc and inc2, how will i do that?
tussu111
If you cant get it by first time, just pause and rewind? I watch one and same video like ten times, before I move on to next.
J2897Tutorials
Google: html footer
nurani8
Wow.. that is complicated… hard to understand.. You talk so fast.
KingNetherdrake
Nevermind, the flaw was in the first one too if you served ../../ pages
KingNetherdrake
I see you have a huge security risk, and I see you’ll update soon.
Anyway in your first version you actually didn’t have that if people don’t put their config.php in inc/ but in for example includes/
Only in your second version you put in the security issue, I actually thought with the else you were gonna fix it. But alas, we’ll wait đ
omanoman98
Hi there…
I’m just trying to understand the risk here…
Here is my directory structure:
inc/test/test1/passwd.php
and here is the URL:
index.php?../../passwd.php
and passwd.php is not shown up!
The output is:
Sorry mate: that page does not exist!
Any help would be appreciated
phpacademy
I’ll have an update on this as soon as possible, thanks!
KoolKid417
What happens if the user does index.php?page=/../../../htpasswd or config.php or anything like that..
Is someone vacuuming in the background? Other than that it was a good tutorial.
SEX-ion lols
Very nice job, just stop vacuuming while your doing it,lol
you can use a else statement
ie
$section += ‘/’;
Really useful thanks – especially love the vaccuum cleaner!
i’m also a PHP developer… I’m looking to compose some tutorial videos like this.. is it hard to do
Thanks for this video. I love to watch php tutorials so I can learn. But next time tell them not to run the vacuum!
if i’m not mistaken this is for 1 section only(correct me if i’m wrong), how about when i have multiple directories, lets say i have 2 directories the inc and inc2, how will i do that?
If you cant get it by first time, just pause and rewind? I watch one and same video like ten times, before I move on to next.
Google: html footer
Wow.. that is complicated… hard to understand.. You talk so fast.
Nevermind, the flaw was in the first one too if you served ../../ pages
I see you have a huge security risk, and I see you’ll update soon.
Anyway in your first version you actually didn’t have that if people don’t put their config.php in inc/ but in for example includes/
Only in your second version you put in the security issue, I actually thought with the else you were gonna fix it. But alas, we’ll wait đ
Hi there…
I’m just trying to understand the risk here…
Here is my directory structure:
inc/test/test1/passwd.php
and here is the URL:
index.php?../../passwd.php
and passwd.php is not shown up!
The output is:
Sorry mate: that page does not exist!
Any help would be appreciated
I’ll have an update on this as soon as possible, thanks!
What happens if the user does index.php?page=/../../../htpasswd or config.php or anything like that..
Huge security risk imo.