Jump to content

Greaser9780

Members
  • Posts

    326
  • Joined

  • Last visited

    Never

Posts posted by Greaser9780

  1. Thank you andyB. Finally it worked I couldn't use $_POST['username'] because the form was already handled in my checkuser.php file. I looked up how it was defined in there and VOILA!! SUCCESS!!!
    Gosh you people are smart.  Only my first week. Hard to learn it and build the site at the same time. Thank you for your cooperation. :) :) :)
  2. <?
    session_start();
    echo "Welcome ". $_SESSION['username'] ."
        <br /><br />";

    ?>
    I'm not sure what you mean. I have a very limited background in PHP and up till recently most was copy and paste then edit where I had to.  This script worked before when it was called by an include message and this script was labeled welcome.php
  3. OK then I have a welcome message set to come up when my page loads. It is supposed to echo Welcome! and then display the username that was used to login. It only displays Welcome! and appears that the username is not being called. Here is the PHP part of the page:
    <?
    session_start();

    echo "Welcome ". $_SESSION['username'] ." 
        <br /><br />";

    ?>
  4. I am running a checkuser.php with my login system. How can I direct them to the properpage in my login_success.php. I believe I understand what to do I just don't know which command to use to send them to the proper user level page. This is what I have now that doesn't work. I don't think include is the right statement. Can anyone point me in the right direction?

    <?
    session_start();

    include 'welcome.php';
       


    if($_SESSION['user_level'] == 0){
        include 'user_level_0.html';
    }
    if($_SESSION['user_level'] == 1){
        include 'user_level1.php';
    }
    ?>
  5. How difficult would it be for me to transfer my site to a different host. As far as retaining the same DB files. Would it take me an entire evening to move everything.

    I already successfully downloaded and uploaded phpBB into my site and it works fine when my host is cooperating. I couldn't find your post on registering at both my site and my forum after searching for about 30 minutes.
  6. I currently am running my site off of geocities. Recently I started having alot of problems: I save my php or HTML work and it sends me to a blank screen. When I try to view my site it brings up a blank screen. When I try to go to the admin panel in my forum it says it can't find the page.  It seems to me that is is not allowing some of my programs to work correctly. Sometimes I have no problem at all. Then 5 minutes from now I can't actually see any of my pages or run php. Has anybody else had this problem? Does anybody know how to fix it?  I'm guessing it's prob just a geocities problem. I sent them a support e-mail and am getting no reply from them.  Please help.
  7. I don't necessarily want someone to write me something for this. I am just wondering how it all works. I am assuming I place some PHP code on my web page where they can enter login info then the program checks it through a MySQL database to see of the given Username and password match. Then if this is true it allows access to more pages.  Is this correct? If it is or is not can someone go a little deeper into discussion with me about this. I am brand new to PHP and MySQL and am tryin to get a site built. I am very interested in learning to do the coding myself rather than have it done for me.
  8. Thank you for getting me started. I tried inputting a simple echo statement into a blank page and can't understand why the preview shows a blank page. Is this possibly due to the fact that it is on yahoo geocities? I am only paying like $4/month. Maybe I need to upgrade in order to be able to use PHP through my accaount.
  9. Hello PHP freaks,
        I am new to the site today. I am in the very early stages of developing a site. Basically still mapping out setup and planning. The only experience I have is in HTML. I have never even dabbled in PHP or databases.  I am told that the site I am looking to start will mostly require these things and I was wondering where I should even begin to learn them. I don't know if it is even possible. HTML was pretty easy to learn through tutorials on my PC. I have looked at some basic tutorials for PHP and it seems very confusing.  If anybody is willing to at least point me in the right direction please reply here.
    Some things for my site will include:
    1)Registering and logging in members              2)Control panels for Admins to create and edit tournament brackets and user information          3)A community forum area          4)A visible database that will show automatically updated stats        5)A private messenger system        6)Restricted access to control panels for admins 
    I am sure there is a lot more I could include but I'm sure that you get the point from what I have here so far.
    Is PHP even the language I should be using for a site such as this?

    Please Help.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.