making gunz website on xamp 1.7.4

Results 1 to 11 of 11
  1. #1
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    shout making gunz website on xamp 1.7.4

    i need ur help guys if any 1 knows how to build up an gunz website for free with all basic functions thn plzzzz help me .......ty :)


  2. #2
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    Re: making gunz website on xamp 1.7.4

    i've created 1 but im getting an error

    Notice: Undefined index: do in F:\xampp\htdocs\includes\title.php on line 2

    Notice: Undefined index: sub in F:\xampp\htdocs\includes\title.php on line 34

    Notice: Undefined index: action in F:\xampp\htdocs\includes\title.php on line 70

    Notice: Undefined index: act in F:\xampp\htdocs\includes\title.php on line 79

    this one is frm b-2-o web

  3. #3
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: making gunz website on xamp 1.7.4

    That means a variable such as $_GET['do'] or $_POST['do'] is not set or is empty while you are trying to use it.

  4. #4
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    Re: making gunz website on xamp 1.7.4

    cn u help me up wid an website please don say noo???...

  5. #5
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: making gunz website on xamp 1.7.4

    Post the code here of title.php.

  6. #6
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    Re: making gunz website on xamp 1.7.4

    Quote Originally Posted by SuperWaffle View Post
    Post the code here of title.php.
    <?
    switch ($_GET['do']){
    case "":
    $pagetitle = "Index";
    break;
    case "register":
    $pagetitle = "Register new account";
    break;
    case "downloads":
    $pagetitle = "Downloads";
    break;
    case "ranking":
    $pagetitle = "Ranking";
    break;
    case "myclan":
    $pagetitle = "Clans";
    break;
    case "itemshop":
    $pagetitle = "Item Shop";
    break;
    case "contact";
    $pagetitle = "Contact";
    break;
    case "login";
    $pagetitle = "User Login";
    break;
    case "halloffame":
    $pagetitle = "Hall Of Fame";
    break;
    }

    //

    switch ($_GET['sub']){
    case "individual":
    $pagetitle = "Individual Ranking";
    break;
    case "clan":
    $pagetitle = "Clan Ranking";
    break;
    case "hof";
    $pagetitle = "Hall of fame";
    break;
    case "viewmyitems";
    $pagetitle = "View My Items";
    break;
    case "listallitems";
    $pagetitle = "View All Items";
    break;
    case "help";
    $pagetitle = "Help";
    break;
    case "details";
    $pagetitle = "Item Details";
    break;
    case "buyitem";
    $pagetitle = "Buy Item";
    break;
    case "announcement";
    $pagetitle = "Accouncement";
    break;
    case "update";
    $pagetitle = "Update";
    break;

    }

    //

    switch ($_GET['action']){
    case "resetpwd":
    $pagetitle = "Reset Password";
    break;

    }

    //

    switch ($_GET['act']){
    case "viewmyitems":
    $pagetitle = "View My Items";
    break;
    case "editinfo";
    $pagetitle = "Edit User Infos";
    break;


    }
    ?>

  7. #7
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: making gunz website on xamp 1.7.4

    PHP Code:
    <?php
    if(isset($_GET['do']))
    {
        switch (
    $_GET['do'])
        {
            case 
    "":
                
    $pagetitle "Index";
            break;
            case 
    "register":
                
    $pagetitle "Register new account";
            break;
            case 
    "downloads":
                
    $pagetitle "Downloads";
            break;
            case 
    "ranking":
            break;
            case 
    "myclan":
                
    $pagetitle "Clans";
            break;
            case 
    "itemshop":
                
    $pagetitle "Item Shop";
            break;
            case 
    "contact";
                
    $pagetitle "Contact";
            break;
            case 
    "login";
                
    $pagetitle "User Login";
            break;
            case 
    "halloffame":
                
    $pagetitle "Hall Of Fame";
            break;
        }
    }

    if(isset(
    $_GET['sub']))
    {
        switch (
    $_GET['sub'])
        {
            case 
    "individual":
                
    $pagetitle "Individual Ranking";
            break;
            case 
    "clan":
                
    $pagetitle "Clan Ranking";
            break;
            case 
    "hof";
                
    $pagetitle "Hall of fame";
            break;
            case 
    "viewmyitems";
                
    $pagetitle "View My Items";
            break;
            case 
    "listallitems";
                
    $pagetitle "View All Items";
            break;
            case 
    "help";
                
    $pagetitle "Help";
            break;
            case 
    "details";
                
    $pagetitle "Item Details";
            break;
            case 
    "buyitem";
                
    $pagetitle "Buy Item";
            break;
            case 
    "announcement";
                
    $pagetitle "Accouncement";
            break;
            case 
    "update";
                
    $pagetitle "Update";
            break;
        }
    }

    if(isset(
    $_GET['action']))
    {
        switch (
    $_GET['action'])
        {
            case 
    "resetpwd":
                
    $pagetitle "Reset Password";
            break;
        }
    }

    if(isset(
    $_GET['act']))
    {
        switch (
    $_GET['act'])
        {
            case 
    "viewmyitems":
                
    $pagetitle "View My Items";
            break;
            case 
    "editinfo";
                
    $pagetitle "Edit User Infos";
            break;
        }
    }
    ?>
    There you go.

  8. #8
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    Re: making gunz website on xamp 1.7.4

    thanks alot bro :) ur very nc person.......but wen i go to address 127.0.0.1/index.php it shows up nothing cn u help for this too??
    Last edited by maxy2010; 21-05-11 at 05:14 AM.

  9. #9
    Pee Aitch Pee Dave is offline
    MemberRank
    Mar 2011 Join Date
    The NetherlandsLocation
    722Posts

    Re: making gunz website on xamp 1.7.4

    What is not showing up?
    What is supposed to show up?
    Are there any errors?
    Did you tried to enable error_reporting on top of the page?

  10. #10
    Immortal GunZ :D maxy2010 is offline
    MemberRank
    Sep 2009 Join Date
    357Posts

    sad Re: making gunz website on xamp 1.7.4

    i started up wid blibz 1 coz i got tired of tat n now blibz is also wid errors.......old 1 was fixed but nothing was showing up,i mean the page is blank......dude i m really very upset im not able to get an single website,its so imbarassing
    Last edited by maxy2010; 21-05-11 at 07:47 AM.

  11. #11
    UnitedMU :) NoamRodrik is offline
    MemberRank
    Jun 2010 Join Date
    387Posts

    Re: making gunz website on xamp 1.7.4

    maxy, ill give you a shortcut.
    download xampp 1.7.0, its 10X Better.
    guaranteed



Advertisement