
-----------------------------------
JHanson90
Sat May 15, 2004 11:53 pm

Modules?
-----------------------------------
I've seen URLs like this:
http://www.thedomain.com/?page=news 
or http://www.thedomain.com/index.php?module=news

How are those pages made?  And what are they?  On one of the sites I've seen, the URL would be http://www.site.com/?page=news and it would take you to a page that has navigation menus, a banner, and a news article, and then I typed in http://www.site.com/?page=testingthispage and I got the same exact thing, except the place where the news article was just empty.  What is that, and how do I do it?

-----------------------------------
Amailer
Sun May 16, 2004 8:39 am


-----------------------------------
that can be simply done by including a file if the $module = 'w/e';


if($HTTP_GET_VARS['module'] == 'news') {
include('news.php');
}


and if you go to http://yoursite/index.php?module=news
it will display the information in the news.php

-----------------------------------
JHanson90
Sun May 16, 2004 5:02 pm


-----------------------------------
Meh I'm such a noob; I should have figured that out myself :-\

Oh well, thanks a bunch :D

-----------------------------------
JHanson90
Sun May 16, 2004 6:22 pm


-----------------------------------
OK, what I did was have one page, called membersarea.php.  I put this code in inside of it:   Then in 'membersareaset.php', the code was: 
      
        Welcome, .
      
    
	
      
        
          WRONG!
          
          Please try again, or stop trying to get into the Members' Only Area.
        
      
	    Then inside of 'loginset.php', the code was: 
            Members Area Login
            