what script do I need? Need your help!!!

Discussion in 'Programming' started by ErikJ, Oct 9, 2009.

  1. #1
    I am trying to get quotes etc for building my site and need to know the best places to get them and for an approximate price.

    here's the example I want to give my paid members there own site to build there mlm business online.

    once they pay the small fee they are given a replicate site of mine just with an id at the end

    www.mysite.com turns into www.mysite.com/hub=?123456 or some similiar text at the end.

    any help would be much appreciated.
     
    ErikJ, Oct 9, 2009 IP
  2. astrazone

    astrazone Member

    Messages:
    358
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    33
    #2
    Well you need php. its a simple code.

    you will need some kind of CMS for the users?
     
    astrazone, Oct 9, 2009 IP
  3. ErikJ

    ErikJ Peon

    Messages:
    1,539
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ok were can I get php scripts?
     
    ErikJ, Oct 9, 2009 IP
  4. vileye

    vileye Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you can develop the code by yourself in php. it's very easy. the replica site would be similar to a profile page for the users.
    i'll give you a rough algorithm:
    1. generate a random unique number for each user.
    2. store it in the database, with the members rest of the data.
    3. whenever the member logs in he'll be shown the same site as others only the content will be different,
    4. The content will be pulled from the database corresponding to the member's unique id

    the id can be called as a $_GET variable in PHP and the rest of the data can be pulled simultaneously with it

    Let us say the site is www.mmasmasdasd.com/index.php

    The user id is 12345 and is called via GET using variable name 'q'

    The member page will be like www.mmasmasdasd.com/index.php?q=12345

    In PHP you can have the following query

    <?php
    if(isset($_GET['q']))
    {
    /*This section will pull up data for a particular paid member
    using the member's id which we have got through 'q'
    */
    }
    else
    {
    /*This section will show the default page
    */
    }
    ?>
    Code (markup):
    There are many modifications that you can do to this simple code. I'm just giving you a rough idea.
     
    Last edited: Oct 10, 2009
    vileye, Oct 10, 2009 IP
  5. ErikJ

    ErikJ Peon

    Messages:
    1,539
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks I will spen the next week trying o figure out the code. Just kidding hopefully I can master it in a day. Thanks allot I will set it up and ask any further questions when needed.
     
    ErikJ, Oct 10, 2009 IP
  6. ErikJ

    ErikJ Peon

    Messages:
    1,539
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #6
    awesome I will take a wild ride on the computer for fun site thanks
     
    ErikJ, Oct 13, 2009 IP