Jump to content

Greaser9780

Members
  • Posts

    326
  • Joined

  • Last visited

    Never

Everything 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. Another noob ? How do I define it then. I understand what you are saying but I have about 3-4 comands memerised.
  3. <? 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
  4. 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 />"; ?>
  5. Must I start a db connection in order to get a session to start?
  6. TYVM. I must say this is by far the most useful and friendly forum I think I have ever been a part of.
  7. Eventually I will have about 8 different user levels. Can I just use HEADER to send them to the correct page?
  8. 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'; } ?>
  9. It's not free I pay like $9/month it allows me to run PHP and MySQL and perl and stuff.
  10. Redarrow,     The script looks great. Being a newb I am not even sure where to place it or how to implement it.
  11. Can't find one. Wish I could though.
  12. 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.
  13. Went through like 8 pages out of 102 and didn't find it. Having a geocities prob now. I can't access some of my phpBB files that get tied to my db. this is like the third time in 24 hours that I can't even view my site.
  14. 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.
  15. Would it be possible for me to just send the registration.html to my site registration=register.php and my forum registration at the same time?
  16. Worked awesome and ty for showing me where to go. Is there a way to use my site logins to automatically log them into my phpBB forum?
  17. This looks like it will take awhile to upload to my server. Will I be able to incorporate phpBB into my existing site without too many changes to appearance?
  18. Hello all,     I recently started the build of a new site and it's looking like it will require a forum. Can this be done with PHP, and if so how would I go about it. Newbie here so please don't get too technical.
  19. Enjoying it so far.am having a bit of trouble with the registration.php I had to work for about 2 hours to get all of the mysql connection errors gone. Once I got all the fixed now when I run the PHP on my tester the screen it brings up is blank. Any clues on what could be wrong?
  20. 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.
  21. 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.
  22. 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.