Don't like ads? PRO users don't see any ads ;-)
Guest

Idk

By: a guest on Apr 28th, 2012  |  syntax: PHP  |  size: 0.20 KB  |  hits: 18  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. //Main file.
  3. $urlvars = $_GET
  4. include("forms.php");
  5. include("functions.php");
  6. if ($urlvars['register']="true") then
  7. {
  8.         register(); //In forms.php
  9. }
  10. else {
  11.         login(); //In forms.php
  12. }
  13. ?>