Jump to content
xisto Community

lonelym

Members
  • Content Count

    87
  • Joined

  • Last visited

Everything posted by lonelym

  1. Is Democracy the really best kind of government?(This is the view of a fourteen year old, so don't react too much)I would think that a democratic government is a better government than the other ones (Like the one wherein there is only one ruler, and what he/she says goes) because it respects everyone's right of speech. We are allowed to voice our opinions, give our suggestions and make comments about how the government is run. Seeing as the whole population is given a chance to say what they feel about it makes them feel more of a community rather than being slaves to a person who abuses his/her power.Democratic governments however, has its own problems. If the president of the government implemented a law which he/she did not explain what it is for, or if it is fair, then that would show that the president is gripping his/her power, and he/she is not letting the people who he/she govern a chance to speak.Most problems with these kinds of governments are the people who help the president. People who help the president should be people who are really trust worthy. People who you could give a buck and you'd be sure he/she would return it. Most democratic governments are filled with greedy, power-hungry officials who bend laws to their personal wishes.I don't think that's what supposed to happen. These things mostly happen when there aren't too much love for your country (Inang-bayan?), or when people care more about themselves than they care about thousands of thousands of other people who has to work 8 hours a day to put food on the table for his/her family. We need to be able to select proper officials for a better government.The problem with other countries' governments is the one ruler thing that I was explaining a while ago. The probability of the person being a corrupt, greedy, and power-hungry ruler and being a loving, kind, thoughtful, and generous ruler would be 50-50. Now, if he became good, hurrah! We have a very kind ruler. BUT, if we fall with a bad ruler, he might order the soldiers to go off and kill a lot of people just for his whim, and make laws that would prevent him from being over-thrown from the crown/position.Overall, I think that Democracy is the best kind of government.
  2. Maybe your server/host doesn't allow the <?php ?> ending. I'm not sure, but I remember being taught that it is in one of the .INI files of PHP.
  3. -- Who is good and bad? Who is the one to judge people? --How do we know if a person is good or bad?Firstly, people are not all bad and all good, because most of us make mistakes as well. We are somehow stuck in the middle of being good and bad at the same time. We can't be considered bad or good for only one action that we did, we must be judged or classified with all our actions. Secondly, If we do get judged because of one action, the judging of the person or the person who is judging is unfair. Why? Because everyone makes mistakes, and if we do judge everyone as soon as they commit mistakes, then all of us would be bad. I believe that all mistakes should be forgiven, but that doesn't mean that we aren't supposed to not get angry at the person.Getting angry at the person is a normal reaction for us humans. To not get angry at the person would either mean that you are very forgiving or you are different. Notice that I didn't use the term weird. You will see why in the next paragraph.Who is the one to judge people?Truth is, no one should judge other people. Just as Jesus (Sorry for those who aren't Catholic) said to the pharasees, 'Whoever has not commited a sin, step forward and throw the first rock'. That phrase shows that everyone makes mistakes, and that everyone should be forgiven, because:1.) We are not someone who should not forgive other people. We all commit mistakes, and that means we all are equal. We deserve to be forgiven and in return, to forgive others. 2.) Because we can never really do anything about it now, so the best thing to do is to move on.We shouldn't be judging people because we don't have the right to judge. We ourselves make mistakes.
  4. That's true. Games that aren't really that interesting soon become boring, and thrown into the 'old and useless game' box.
  5. Why do we need entertainment in life? What is it for?I think that we need entertainment in life for releasing stress, and letting our minds feel relaxed, knowing that there are more things than just work and studies. Entertainment, or relaxing, is crucial in our daily lives. If we humans don't relax from time to time, we usually get sick and we wouldn't have any energy to do our required activities such as working and studying.Some games allow you to start as a new person, living a new life with new possibilities that rely on your new choices. These games are very popular, because deep down inside, we either want to escape the hard problems in life, or we want to see what it is like 'On the other side'. These games are very interesting since you have lots of choices to make, and that means a lot of possibilities. Of course, our curiousity then kicks in and we start getting addicted to these games.Yes, these games are great, but we should never forget that these games are not real life. If we keep playing these virtual games we would soon get addicted and we might not have control of ourselves. We must always think why we are playing. If we say, 'I play this game because I will turn to level 50 by tomorrow,' then that means that the game manipulates your activities. The purpose of games are to allow us to have a rest from the real world, not to escape it.Having no games in the other hand is wrong as well. We would either be unhappy with the our lives that have no rest which means that we have nothing else to do but to work, or we keep playing in a game that doesn't bring food to the table. I think that entertainment is a balance that needs to be regularly maintained to stay near the middle. I'm not saying that it should stay in the exact middle, but to keep dipping on the left and sometimes on the right.o_o
  6. I would have to say that that Idea would be pretty nice. It will benefit both parties. (Xisto and the referrer)
  7. I print them out before and after the PHP script so that I wouldn't have to type them again and again. It works, so I don't really have any troubles with it. Thanks for replying. I understood how to do it now.
  8. I haven't really read much about sessions, i usually study PHP by viewing other's codes and learning from it. Here's what keeps on popping out when I open the page. Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\xampp\htdocs\maple-radio-live\loggingin.php:7) in C:\Program Files\xampp\htdocs\maple-radio-live\loggingin.php on line 40 and Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\xampp\htdocs\maple-radio-live\loggingin.php:7) in C:\Program Files\xampp\htdocs\maple-radio-live\loggingin.php on line 55 Here is the sourcecode for the page: <?PHP include("config.php"); ?><HTML><HEAD><TITLE>Logging In<TITLE></HEAD><body bgcolor="black" link="#90ee90" alink="#90ee90" vlink="#90ee90"><?PHP// retrieve the submitted values$username1 = $_POST["username"];$password1 = $_POST["password"];$rememberMe = $_POST["rememberMe"];// make sure that rememberMe has a valueif ($rememberMe == "rememberMe"){ $rememberMe = "1";}else{ $rememberMe = "0";}//Starts the fontsprint $fs;//Checks if the username field was written onif ($username1 == ""){die("You did not write anything on the username field.");}if ($password1 == ""){die("You did not write anything on the password field.");}// check it the username exist$query = "Select * from usertable where username='$username1'";$result = mysql_query($query); if ($result != true){ die ("You have written an unregistered username."); } $row = mysql_fetch_assoc($result); if ($row["numloginfail"] >= 5){ die("You have logged in for more than 5 incorrect times. Please try again later."); } if ($row["password"] != $password1){ die("You have written the wrong password."); } $datetime = date("m d, y"); $query = "UPDATE usertable SET lastlogin = '$datetime' where username='$username1'"; $result = mysql_query($query); $query = "UPDATE usertable Set numloginfail = '0' where username='$username1'"; $result = mysql_query($query); session_start(); session_unset(); // remove the session itself // put the password in the session @ session_register("pass"); $HTTP_SESSION_VARS["pass"] = $password1; // put the username in the session @ session_register("id"); $HTTP_SESSION_VARS["id"] = $username1; // send the the cookie if needed if($rememberMe=="1"){ setcookie("rememberCookieUname",$username1,(time()+604800)); setcookie("rememberCookiePassword",md5($password1),(time()+604800)); } // go to the secured page. header("Location: members/index.php");print $fe;?></BODY></HTML> $fs and $fe means font start and font end. I have written its values in config.php Thanks for the help.
  9. Wow. That's really freaky. I'm not sure if the person reading this will believe it though, but hey, who would take chances? Anyways, how do people get banned though? Hacking?
  10. That's cool! I learned about Ragnarok Online on 2003, November I think. I got so addicted I was able to entice my mother to join the game! We play the official server though, so that means it costs a lot. 100PHP each week, and we are 3 people playing every day. So, we would normally use up 1200PHP (24 USD).The farthest I was able to reach was my level 85 knight, but my build was kinda messy, so that's why it didn't really work out that much. My mother was able to reach 95 on the official server, but only reached knight as well. Once we stopped playing, (because of the price...) The transcendant jobs came. I was so crazed about it that I was buying ragnarok cards (The one needed to play) from my classmates and sneaking it when I go home.I've stopped playing Ragnarok Online recently, and started playing Gaia Online. I stopped from Gaia Online as well, and now, I started Maple Story.
  11. That's very interesting at first, But I wouldn't really make something simillar. It's fun to cram all those stuff in that little space.
  12. If I were to choose from the list that you made, I would have to say that I prefer RTAB Based RPG. Not that its my favorite, its the best I would choose from the list. I like MMORPGs, (Massive Multiplayer Online Roleplaying Games) But I think that is too general. I play Ragnarok Online, Maple Story, Ran Online, those stuff...
  13. The graphics are great. I had Test drive from Xbox, but I didn't like it that much. I'm not much into driving games, except for NFS:MW.
  14. I heard that they were making a GTA 4 for PS3 and Xbox 360. I'm not sure though, just thought you guys might like to know.
  15. I've been using Macromedia Flash 8 for two years now. I find its scripting easy and its framework is fine. The problem with Macromedia Flash 8, is that it isn't measured in pixels, so its hard to make measured images in it. I suggest making/editing the images in photoshop, and importing them to macromedia flash.Actionscript is very easy to learn. It is the very first scripting language aside from HTML that I learned. It was able to teach me about for loops, while loops, functions, if statements, equality signs, and more. I think having flash as a second language that I learned after HTML really helped me.
  16. That is awesome. 3 thumbs up. No doubt about it. Where were you able to get the render for the first signiture? Er, the girl? I really don't know where to find renders like those anymore... T__T Anyways, good job.
  17. I think downloading Macromedia Flash 8 would be advisable. Study here or in newgrounds.com. I learned how to make flash animations and interactivity there last 2 years. I'm not sure if they are free right now, but I suggest you check it out.
  18. I would suggest looking for the font "VISITOR BRK" which is a 1 pixel thick font. I use it for my userbars. I would also suggest making a scanline of your own, and setting its layer properties to overlay. After that, make an oval (not circle) that is as wide as the picture but show only the bottom part. Set it to overlay as well.Pretty okay for a newbie.
  19. The first one was very awesome. I'm not fond of the last one though. Photoshop amazes me with what it can do. xD
  20. Its pretty okay for a beginner. I suggest moving both of them at the same time so as not to make it look funny. The red guy froze and the black guy flew. Pretty good. Thumbs up.
  21. lonelym

    Php And Flash

    God that's a relief. I know how to script in actionscript and php, so I'll just look for the functions needed in actionscripts to make queries.Thanks for replying! *Goes of to look for the function*
  22. So... I will create an insert to table query, wherein the data's value is now(). I then create a javascript that would show the time remaining. What I don't understand is the part where you explain calling the new now() and comparing it to the old one. Would the code be something like: $timenow = now();$query = "SELECT tablename refreshtime where columnid = 1";$result = mysql_query($query);if ($result) { $row = mysql_fetch_assoc($result); $timetorefresh = $row['columnname']; if ($timenow => $timetorefresh){ $query1 = "UPDATE tablename SET mana = maxmana"; $result1 = mysql_query($result1); if ($result1){ print "Mana is restored."; } }}First, I don't know where to put this code. If I did know where to put it, their mana will refresh again and again unless I change the value of the time in the column refreshtime. I'm so confused, I'm trying to learn so many stuff. T__T Another question, Would the if statement work even if the page is not executed because no one is online? I'm really sorry for the bother, it's just that I enjoy learning to script so much. I enjoy seeing people having fun in the games that I play, and I like it when my parents approve with what I do. Just tell me if I'm asking too much and I will zip my lips.
  23. Is there a way for PHP and Flash to exchange variables or something? I don't want to create a Flash file by using PHP though. That would be gruesome. It would be great if I could make queries in flash as well.
  24. If I were you, I would try to create a username and login system, adding in the cash system, the things that are basics. After that, I suggest getting your game to be noticed, and let users try out the game. Ask what they like, and try to do them. Soon enough, you will reach a point wherein what they ask, is pretty hard. NOW you look for people who script php as well. Of course, they are more likely to join now because of the population of your game. If you would like to check out my game, please go here
  25. My friends have talked to me about their Vista, saying that it really lags your computer. I think Microsoft has to manage its graphics : compatability. Having great graphics but snail-like speed would be a total waste.Whenever microsoft declares a system requirement, I suggest going for more than what is expected because the system requirement is the least settings that you should have so that you can use it.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.