This is a discussion on "[SOLVED] $_GET['ting'] Pages (Safely) With PHP" within the PHP Forum section. This forum, and the thread "[SOLVED] $_GET['ting'] Pages (Safely) With PHP are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] $_GET['ting'] Pages (Safely) With PHP
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
[SOLVED] $_GET['ting'] Pages (Safely) With PHP
Having some problems with this article
Quote:
|
|
|
|
#2
|
||||
|
||||
|
Re: $_GET['ting'] Pages (Safely) With PHP
Maybe the following?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#3
|
|||
|
|||
|
Re: $_GET['ting'] Pages (Safely) With PHP
Nope...didn't work
Quote:
|
|
#4
|
|||
|
|||
|
Re: $_GET['ting'] Pages (Safely) With PHP
yep, there's an error there. sorry bout that
It should be:
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#5
|
||||
|
||||
|
Re: $_GET['ting'] Pages (Safely) With PHP
I'll change this in a minute guys.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#6
|
||||
|
||||
|
Re: $_GET['ting'] Pages (Safely) With PHP
Fixed! Shame on our tester
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#7
|
|||
|
|||
|
Re: $_GET['ting'] Pages (Safely) With PHP
Alex....you need to change that bit in the finished code also becuase that still reads the same
|
|
#8
|
||||
|
||||
|
Re: $_GET['ting'] Pages (Safely) With PHP
Okay will now.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#9
|
||||
|
||||
|
Re: $_GET['ting'] Pages (Safely) With PHP
Fixed (I think).
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#10
|
|||
|
|||
|
Re: $_GET['ting'] Pages (Safely) With PHP
Still getting problems
Quote:
|
|
#11
|
|||
|
|||
|
Re: $_GET['ting'] Pages (Safely) With PHP
I think you are missing a slash:
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#12
|
|||
|
|||
|
Re: $_GET['ting'] Pages (Safely) With PHP
This is what I have
|
|
#13
|
|||
|
|||
|
Re: $_GET['ting'] Pages (Safely) With PHP
Yep, you're missing a slash. Corrected:
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#14
|
|||
|
|||
|
Re: $_GET['ting'] Pages (Safely) With PHP
Nearly working!!!!
I created an error page and now i get the menu listed but also the 404 error page instead of the home page. I did the same example as in the article just for testing purposes. I have a folder called pages with all the home, contact and 404 error page in so i don't know what the problem is |
|
#15
|
|||
|
|||
|
Re: $_GET['ting'] Pages (Safely) With PHP
hehe, Missed that error too. You also have to add a slash in the file_exists() function otherwise PHP won't find the page. Corrected again:
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#16
|
|||
|