Jump to content

Zane

Administrators
  • Posts

    4,362
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Zane

  1. These Linux classes sure would have been a lot better if all the students in them actually wanted to learn Linux. We had to spend the whole the class (1h45m) on one little subject, because the whole class mostly wouldn't understand...anything If only they all caught onto it we could have installed more than one copy of Linux...we installed redhat fedora but never got around to suse
  2. well what I remember from class is...we had to create three partitions root boot and swap I've forgotten which one had the most memory 0n it....I think it was boot..not sure at all then at some point I had to use vi to edit a few files I had to change my video file to change to 32 bit or something like that and to change my resoultion if I wanted I had to change a bootup file to let it boot using startx and to switch any harddrives and to tell it to use grub or lilo...I don't remember any difference in the two other than the spelling, but I know they're boot managers I probably left out like 40 blanks here but I hope I painted somewhat of a pattern that I'm talking about. I don't really want to use the GUI installer .... I just want to dive in and learn it for what it's worth. I'm hoping I can find a good article giving me these missing instructions.
  3. Alright...I think I'm ready to go to Linux now...now that I have my power cable Gotta question. I've taken a couple of course at college on Linux..so I'm not completely and utterly new to it, but I can't exactly say I've installed it as much as I have Windows. I can't count how many times I've done that. Does linux have a basic installation pattern you go through. (Assuming I wanted to try it the command line way).... or I guess I'm asking do all the different distributions of Linux have a different way to install them or are they all pretty much the same procedure? Do any of you happen to know of any good articles on this somewhere?
  4. I've been playing the acoustic guitar for about a year and a half. My dad's always played guitar around me since I was a kid so I probably just picked up the hobby. Don't really consider myself a musician, but I can learn a song if I want...just for hobby's sake My two favorite songs to play all the time are Dust in the Wind and Stairway to Heaven. Well..the only two I know really well I guess I should say.
  5. you're missing the last two brackets at the very end EDIT: nevermind you have two brackets following eachother is that intentional
  6. what is it doing instead
  7. mysql_query("UPDATE user SET `points` = (`points`*2) WHERE `username` = '$_SESSION[user]' AND points = 1000") or die(mysql_error());
  8. you'll have to use javascript for that document.getElementByName("cluster").enable = false;
  9. what have you tried so far
  10. well you're right in one sense if you set it to order by random for user1 and he refreshes....yes he'll have a new order but user2 logging in won't affect user1, because he's on a different IP you may have to organize all of userX's data into an array and just use that EDIT: nevermind...I was too late in posting....guess I missed the point somewhere
  11. There is no problem in having 2 or more users use the same table ... let only the same record. How do you think all these marketing sites work. Amazon, Tigerdirect, IMDB. All of their databases are being hit at the same time....most likely 100+ of the same records are being hit at the same time. Creating a new table for every user is a common idea a lot people think of. It never works out.just to warn you. Unless you have a lot of server money to throw around. You'll be fine in randomizing the order
  12. session_start has to be the VERY FIRST line in your script excluding <?php...
  13. http://sheeri.net/archives/117 http://mysql.mirrors-r-us.net/doc/refman/5.1/en/mysql-cluster-limitations.html
  14. is this for some sort of php based game?
  15. I'm not really understanding your question entirely. but if you're wondering if randomizing the items for user1 will affect user2, it won't because you are required to have a primary key for every table you have. the only thing the you are randomizing is the order......I'm assuming
  16. error right here
  17. http://www.phpfreaks.com/forums/index.php/topic,95443.0.html http://www.phpfreaks.com/forums/index.php/topic,95441.0.html
  18. here's something to work with $username = $_POST['username']; //This line is only good if you have a form beforehand $getuser="SELECT username, email, firstname FROM players'"; $getuser2=mysql_query($getuser) or die("Could not get user info"); while($row = mysql_fetch_assoc($getuser2)) { echo $row['username'] . " "; echo $row['email'] . " " echo $row['firstname'] . " " }
  19. echo $getuser3['username']
  20. try echo $getuser3[0]; and see what happens or you can replace 0 with the name of the username column in players
  21. you are echo-ing your query variable. you need to use it i.e.
  22. Webservers OSs usually create an access log with this information already in them
  23. heh...mine's like kfdjfkl.php or if I'm feeling snazzy I'll make it something relevant
  24. try using padding-right for your spacing or margin-right
  25. I began teaching myself PHP when I wanted to send some data from one place to another.  I remember asking everyone how to do something but having the hardest time explaining to them exactly what it was.  I can't exactly remember where it was that I discovered PHP but when I did I started trying to go beyond what I could actually do at that point which brought me from tutorial to tutorial to errors upon errors until caught on eventually. More like the rest of you.  I wanted to know how to do it, so I researched it until I could do it.
×
×
  • 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.