Jump to content
MakeWebGames

Lithium

Members
  • Posts

    1,099
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Lithium

  1. Re: Strange Ip problem   Where are you placing that bit? that is a pretty good replacement to $IP = .... $IP = getip();
  2. Re: Can someone point me what i am doing wrong here? regenerate session id on every page load, and destroy the previously one used. it does it, though let's say i go back on the browser by a page or two... wasn't it suppose to deny me, as i am calling a sid that no longer exists?
  3. session_start(); $x = session_id(); if (!empty($_SESSION)) { session_regenerate_id(TRUE); $y = session_id(); session_id($x); session_destroy(); $x = $_SESSION; session_id($y); session_start(); $_SESSION = $x; } this works, as it creates a new session, though, when hitting back browser button it would make a call to a session_id that no longer exists, yet it remains as it was there... so definetly, i am doing something bad, though i don't know where!
  4. Re: header() alternative   Yet oddly enough... this one worked! @ killah the code you have given was one of many tries before my OP. Thx both :)
  5. Re: header() alternative killah: i've thought of that option,   and oddly enough it keeps erroring!
  6. Re: [mccode v2] Battletent Fix    
  7. This is a shout for help, as i got stucked and can't seem to get this going... header('Location:'.$_SERVER['SERVER_NAME'].'/validate.php?page='.$page.''); - This one errors with "Warning: Cannot modify header information" message. This one works, yet it briefly messes the layout and is slow <META HTTP-EQUIV="refresh" CONTENT="0;URL=validate.php?page=<?=$page?>"> document.location.href - this one is not an option. Also already tried to clean out buffers before redirecting but outcome is the same. Any ideas?
  8. Re: [mccode v2] Lucky Bags   @hobbes $var = (condition) ? TRUE : FALSE; (a faster and better usage for simple if/else statements) You want an array() that can give one of those items interval...
  9. Re: New Banner I Made not my style but still looks good, maybe a drop shadow (black) around 50% opacity on "OMEGA CRIME" would give it yet another look
  10. Re: [mccode v2] Lucky Bags   killah, that won't do the trick, as it will ALWAYS return TRUE , it will always give a rand(23,29)
  11. Re: [MCCODE V2] User Competitions seems no one noticed this one too... on comps.php <?php include "globals.php"; $q=$db->("SELECT * FROM competitions ORDER BY id"); should be <?php include "globals.php"; $q=$db->query("SELECT * FROM competitions ORDER BY id");
  12. Re: [mccode all] sql backup   you got a point, but all that is also needed as he sends the gzipped dump to email :)
  13. Re: [MCCODE V2] User Competitions   Agree on that but you still need to close the competitions :P ;)
  14. Re: [MCCODE V2] User Competitions Seems a "hourly" version of a raffle, simple enough, though at a glance, it seems you don't end the competition (truncate the table when prizes are delivered). Besides that, without testing... can't find anything else. Nice move :)
  15. Re: Problem with gzfile() in php5.2 As of the manual... You don't need the second parameter... gzfile('http://en33.tribalwars.net/map/village.txt.gz', 'r'); could be as gzfile('http://en33.tribalwars.net/map/village.txt.gz'); http://pt2.php.net/manual/en/function.gzfile.php
  16. Re: New Banner   LOL
  17. Re: New Banner   So, instead starting to shoot dumb statements as the one that follows, that eventually lead to users "trash" you out, you ought to explain the purpose of such a simple banner, like "ideas to complete are welcome" or something similar. :)  
  18. Re: Guess the next poster Freddy Krueger's next
  19. Re: New Banner   LOL, why would you see my work? I don't have nothing to prove nor i need to "show off" my skills, looking back at... 90%? of your posts trashing other users, the one that seems to need to prove to this community that can code is you not me. And the fact that i brought my kid into the story is simple, he's 4 years old (yes meaning that anyone could do it)! and get real... you wanted feedback like... "WOW, AWESOME", damn even i can't use image editors and can do it, so what were you waiting for?
  20. Re: New Banner You made a banner, good for you! Yet you don't want people to trash you out... so DON'T post it! And let's get real, even my kid could do that!!!!!
  21. Re: Another Addon what's special on that? :|
  22. Re: Thank a CE mccode Mod Developer Day   Lol, Zero that reminds me of you as well ;)
  23. Re: New Hosting Needing routhost.com, powweb.com, godaddy.com
  24. Re: gang bugs instead placing the file, you'd be better explaining what "bugs" are there and wait to see the outcome on users helping you or not...
  25. Re: [mccode v2] userADS   meaning...? exactly the same as in... output? so if the output is the same, means code behind it is the same, so, eventually illegally obtained... By that order of ideas, those of us (if not everyone) who sometime "copied" some output from somewhere else, might be illegally obtaining our own work?
×
×
  • Create New...