Jump to content
xisto Community

beeseven

Members
  • Content Count

    628
  • Joined

  • Last visited

Everything posted by beeseven

  1. Midnightvamp, may I inquire as to your reasons? It seems like you did very well, but the vast majority of people who drop out don't.
  2. (All by The Beatles)Here Comes the SunAcross the UniverseMagical Mystery TourI am the WalrusStrawberry Fields ForeverPenny LaneYellow SubmarineNowhere ManSgt. Peppers Lonely Hearts Club Band (transitions into next)With a Little Help from My FriendsBack in the U.S.S.R.Ob-La-Di, Ob-La-DaPaperback WriterAll of those are pretty upbeat or fun. Most stuff by The Presidents of the United States of America is pretty funny (Peaches, Lump, to name a couple). Queen is good,Bohemian RhapsodyI Want to Break FreeBicycleKiller QueenYou're My Best Friend
  3. If you think that's neat, php can also create pdf files... http://us3.php.net/manual/en/ref.pdf.php
  4. Say you have this script that makes an image, and you want to include it in another page. Would you just use <img src="blah.php">? I'd test it right now, but all my PHP image stuff is on my school's server, which is currently down.
  5. beeseven

    Dates

    Strtotime is very versitile. As long as you have a word for the month, it'll work with most formatting. But if your users don't know this, it would be easiest, as was already said, to use multiple inputs. Especially if you use a drop down box where possible.
  6. I agree that you could use $_GET. You could have a form that's like this: <form method="get" action="something.php"> //method="get" adds the values of the inputs to the url<input type="radio" name="lang" value="danish"> Dansk<input type="radio" name="lang" value="german"> Deutsch<input type="radio" name="lang" value="english"> English //3 radio buttons with the languages<input type="submit" name="submit" value="Read File"></form>Then in the PHP file: if($_GET['lang'] == "danish") { include 'danish.php';}elseif($_GET['lang'] == "german") { include 'german.php';}elseif($_GET['lang'] == "english") { include 'english.php';}If you have any links, you should just put this: <a href="somethingelse.php?lang=<?php echo $_GET['lang']; ?>">
  7. I've used SQLite before and it's not that big a deal. Basically it's using mySQL on the command line except with slightly less functionality. As far as I know you'd have to install it on the user's system just like you would with mySQL. Also, I could never really get it to work. Whenever I tried it wouldn't connect and it'd just time out.
  8. I guess I could help. I made my own forum from scratch ( http://forums.xisto.com/no_longer_exists/ ). I'm not sure how experienced you want though. Depends on what your planning to do with it.
  9. There is never any good reason to quit school. For one thing, you'll most likely never get a job higher than a position flipping burgers at McDonald's, especially if you quit in 5th grade. A GED (General Equivalency Diploma) is supposed to be about the same as a high school diploma, but there's nothing like the real thing. You'll have a much easier time getting into college if you graduate from an actual high school instead of just taking an "equal" test. If you want to go back (which you really should), then you'll have to work really hard to catch up, but graduating late is still much better than not at all. I can't really think of much else to prod you with, but you'll find a lot of benefits of finishing school if you Google something like "stay in school"
  10. Because we all know forwarded e-mails are sources of valid, credible information... I don't doubt that Microsoft uses codenames for their products, I'm just saying that if you believe every e-mail you get that you're going to be really disappointed when Gates doesn't send you a check for $300.
  11. What I would do is have another field in the mySQL, like `points` or something. Then use cron jobs. http://forums.xisto.com/topic/6317-so-you-wanna-learn-crons-huh/ http://forums.xisto.com/topic/6321-cron-jobs-cron-jobs-in-cpanel-cron-jobs-cron-jobs-using-php/ In the automatically executed PHP file, just put something like this: <?php$connect = mysql_connect("localhost", "mysql_user", "mysql_password");mysql_select_db("users");mysql_query("UPDATE `users` SET `points`=`points`-1");mysql_close();?>For this to work `points` must be a number type (probably INT).
  12. Bah, my school doesn't get out until June 24, and then I have to go to summer school July 5 - August 5 because they require more credits so I have to take extra summer classes. It's fun though, lots of nice people, all smart (there's an admission test), usually fun and challenging.
  13. "Unicyclist kaleidoscopes" just returns word lists, which, as they state in the rules, doesn't count.
  14. When you start up your computer for the first time, you are given the opportunity to name it and describe it. You can see the name and description, and change the description by right clicking on My Computer, going to Properties, then Computer Name. What you see at the bottom left on the login screen is the computer description. As for the pipes, the candy canes is just the default texture. You don't have to hit cancel, just select textured. Lastly, the quotes, I don't have it either. It's possible you just saved something there inadvertantly.
  15. Just in case that didn't explain fully, the PHP has to be before and HTML tags, too. Your document must start like this: <?phpsetcookie(stuff...);stuff...?><!DOCTYPE etc.><HTML>etc.
  16. Yeah, you can do stuff but it's pretty complicated. Here's an example: http://forums.xisto.com/no_longer_exists/ The code is: <?phpheader("Content-type: image/png");$img = imagecreate(500,500);$topleft = imagecolorallocate($img,255,0,0);$bottomright = imagecolorallocate($img,255,255,0);$topright = imagecolorallocate($img,0,0,255);$bottomleft = imagecolorallocate($img,0,255,0);$middle = imagecolorallocate($img,255,0,255);$border = imagecolorallocate($img,0,0,0);$diamond = imagecolorallocate($img,255,128,0);imagefilledrectangle($img,0,0,250,250,$topleft);imagefilledrectangle($img,250,0,500,250,$topright);imagefilledrectangle($img,0,250,250,500,$bottomleft);imagefilledrectangle($img,250,250,500,500,$bottomright);imagefilledrectangle($img,125,125,375,375,$middle);$points = array(125,250,250,125,375,250,250,375);imagefilledpolygon($img,$points,4,$diamond);imagerectangle($img,0,0,499,499,$border);imagepng($img);imagedestroy($img);?>
  17. I have some suggestions for you: 1. If you want to make it so new lines register (if the user puts a line break in the text box), use "nl2br($mesg);" It will add a <br /> to the end of every new line in the text box. 2. For bbcodes, you can use this: $bbcodes = array("[b]","[B]","[/b]","[/B]",[i]","[I]","[/i]","[/I]",[u]","[U]","[/u]","[/U]");$html = array("<b>","<B>","</b>","</B>",<i>","<I>","</i>","</I>",<u>","<U>","</u>","</U>");$mesg = str_replace($bbcodes,$html,$mesg);That will change the bbcodes into HTML tags which you can store in the database as such. You can also add more tags onto the arrays, but be sure to line them up ( and <b> are first, and <i> are fifth).
  18. Done a little copying recently? http://www.phpbuilder.com/columns/cash20030526.php3 Notice from snlildude87: Copied post deleted
  19. Actually when you use "grande" before a singular masculine word it gets shortened to "gran" but that doesn't really matter right now.When you conjugated estar to "est?s" (giving you the benefit of the accent, there) it means "you are." "Est?" would be "it is." You wouldn't say "Where are you the new forum?"
  20. I've been experimenting a little with PHP's image functions and I was trying to see if I could make something that looked 3D, so I started with a cube because it's simple. To make an isometric picture of a cube, you need to start with a regular hexagon. However, making a regular hexagon isn't the easiest thing. Is there a function to create a regular polygon, or specify an angle and magnitude for a vector?
  21. Interesting, I probably dropped it there when Word went crazy (like it always does) and minimized itself.
  22. I find that you get much more control and less junk that doesn't do anything if you code the page yourself. Vi is the best editor in my opinion.
  23. I was always taught that adjectives aside from numeric and good/bad went after the noun. Also, if we're assuming an accent, you conjugated estar wrong. "Where is the new forum?" I would translate to "?D?nde est? el foro nuevo?" (but I'm not sure about "foro" for "forum"- I just babelfished that) Notice from snlildude87: Changed "Donde" to "D?nde"
  24. First I'm not sure where this goes, but it appears to be a Windows thing, so I'll ask here.What is a scrap file? One suddenly appeared on my desktop after I used Word, and it only contained a line of text that I ended up getting rid of. Is it like a swap file?
  25. In addition to saving electricity, turning the computer off gives it a break. The computers at my school are pretty much on 24/7 and they're some of the slowest I've ever used (relatively new, too). Mine is off when I don't use it and it does pretty well for it's hardware.
×
×
  • 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.