Jump to content

Zane

Administrators
  • Posts

    4,362
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Zane

  1. This is a pretty nifty trick, don't know why I've never seen it before. I also wonder why this type of control panel isn't implemented by default rather than having the maze of settings... most of them renamed from previous versions of Windows. I could understand it not being default for Basic users, but it could at least be implemented upon click of something similar to the "Classic View" that Control Panel used to have.
  2. So..... I gave you some working code.. in PHP (the board you posted in). Is this a Javascript problem or a PHP problem?.. lemme know and I'll move it for you if I need to
  3. use count_chars scratch that... that would just delete the double letters.. but you can still use this function [ot] foreach (count_chars($encryptedString, 1) as $i => $letterCount) if($letterCount > 1) ...... ................. nevermind... that won't work[/ot] for($i=0; $i if($i>0 && ($encryptedString{$i-1} == $encryptedString{$i}) continue 0; else $recryptedString .= $encryptedString{$i}; }
  4. so what you're trying to tell us is This does work $err = "Something with spaces"; header("Location: somepage.php?err=$err"); and this doesn't header("Location: somepage.php?err=Something with spaces"); Am I correct?
  5. if you need it 12x12... why not just set the padding to 6px (all around)? .. instant 12x12 box (assuming something is in the box) Then you'd decrease the padding.... one pixel at a time to get it just right
  6. Zane

    Row to expire

    I'm no MySQL expert but I don't believe there is a way to run SQL queries on intervals WITHOUT a CGI/PHP/Perl/etc script running them. As far as I know, a MySQL server it meant just for what it is.. to be a database... with the complementary code to manipulate its data. You should look into setting crontabs http://en.wikipedia.org/wiki/Cron From which point you can write a PHP script to do what happens upon expiration. All this script would do is query the database for records whose timefield is expired.. according to how you have it formatted.... and delete it, mark it expired, whatever
  7. Another blabbering idiot... You did nothing right and blatantly didn't read any guidelines for posting questions on this board. You're lucky you even got a decent response. Go back under the bridge you came from, we don't have time for trolls like you, LOOSER!! That is what I believe is called, 'feeding the troll' But I do find it funny, the original thread, he sure snapped somewhere. Good watch. Feeding the troll is when an irate newcomer expresses his sensitive feelings and low self esteem to a foreign community just to grasp their attention...and the community bites (like a fish), therefore feeding the troll. This troll has accumulated 2 pages so far... I'd say that's enough. LOCKED
  8. When I saw cartoonist in the title I had to check this website out seeing as how I should expect an artistic approach to the design, which I found. But I also found that I was disappointed at how the designer tried to combine "web-site" aspects with his artistic theme, such as - backgrounds in the navigational buttons, making them look square whilst the text inside is skewed. It sort of looks superimposed. - a scrollbar that serves no purpose other than to reveal the copyright info/navigational buttons (depending on your resolution... mine is 1024 X 768 right now). The scrollbar is wasting space on your "canvas". Try out different arrangements.... copyright on top .. in gray, etc. Those are really the only two nitpicks I got. As far as that goes everything else looks good. I like the lightbox effect and the easy comic strip navigation..
  9. there is a function for this called nl2br It's short for newline2break
  10. http://www.captain.at/howto-php-upload-max-size.php
  11. I don't know why I didn't see that the method was POST. PFM has the right answer here
  12. there are other functions to try out. exec shell_exec passthru system
  13. use isset($_GET['action']) &&!empty($_GET['action']) for your evaluation instead. $action = yourEvaluation ? $_GET['action'] : 'main';
  14. Yeah, but the fact is that people do click the solved button...sometimes. Just because you assume that joe-shmoe and so-and-so aren't going to use the feature doesn't mean that everyone won't. This place is like fly-paper... except the flies that stick have potential. (kind of a backwards metaphor, I know) If we configured it such a way that a "solved status" was essentially AI, then there would really be no purpose in calling this place a forum. That isn't the way a forum works. (Now if it were a Microsoft forum, maybe). Even the fact that you, WarKirby, are posting your suggestions and heartfelt foreshadows or what may result from this feature not being reprogrammed...proves my metaphor even further. I would be agreeing to your "solution" if weren't for the fact that people (besides guru+) were actually marking their OPs solved. Even if it isn't everyone, ..... there are 85K+ users (registered) here. Now if that were 85K+ one dollar bills, I'd be glad to get just 2% of that...yet I'm pretty sure that at least 70% of them marked their own topic's solved. (Assuming everyone (guru+) else marks topics solved as seldom as I do)
  15. try using text-align:center or set the padding to 1 or 2px
  16. Yes, right button ftw
  17. I like the one on the bottom right.
  18. It wasn't wiped but we lost a fair amount of posts a long while back when we upgraded from IPB to SMF. and considering when you were here 2003-2004 phpBB -> IPB -> SMF
  19. Yeah I tried to jump on both those bandwagons... along with Command and Conquer (which is really just another version of Red Alert). I could never get as addicted to them as I did Stronghold or Age of Empires.
  20. It couldn't have been '98 since the very first Stronghold game came out in 2001, but yeah it's quite old
  21. Anyone around that plays Stronghold Crusader anymore? It's hard to find any servers out there besides GameSpy (which is not worth it for one game that I only play ever so often). If you've never heard of Stronghold Crusader and you enjoy games like Age of Empires, Black & White, Total Medieval War, etc etc strategy games then you oughta check it out. The game has just recently been upgraded this year to Stronghold Crusader Extreme after probably 6 years or so. If you are a player then post up your experience with the game, what you like about it and such, how long you've played it, etc. It'd be nice to start up a WAN game.
  22. Forgive me, I still don't understand your contrasting opinion on the idea to start with. So what's keeping you from doing it with the separate div exactly?
  23. You're better off not having a bottom border at all rather than trying to hack and tweak away at getting an image to work for your it. It's not worth the trouble. Your best best (if you want to use a image based bottom border is to use a separate div, at the end of the inside of the element you wish this border upon. Just give the div the same height, set some padding if you need it, and use background attachment to get it on there.
  24. array_map() $parameters[] = $array1; $parameters[] = $array2; $parameters[] = $array3; $parameters[] = $array4; $parameters[] = $array5; $parameters[] = $array6; $newArray = array_map('array_unique', $parameters);
  25. Zane

    CASE

    not tested. SELECT `kills`, `deaths`, CAST(CASE WHEN `deaths` = 0 or `kills` = 0 THEN `kills` ELSE (`kills`/`deaths`) END) as kd FROM `rscd_players` ORDER BY kd DESC
×
×
  • 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.