|
Integrating with dynamic links (Outdated)
|
|
10-Aug-2010, 06:52 PM
Post: #2
|
|||
|
|||
|
RE: Integrating with dynamic links.
Ah, yes, there is one thing I forgot to mention. If you don't want someone to see an "invalid id" error if they decide to enter something in the url, then add a check against it.
PHP Code: switch($_GET['layout'])Then shove the include script into an if statement: PHP Code: if(defined('VALID_COMMENT_PAGE'))One advantage of this is that you can add an optional else statement to show something else when a comment system isn't supposed to be there. Enjoy! I'm giving you three guesses... |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help


