Jump to content

.josh

Staff Alumni
  • Posts

    14,780
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by .josh

  1. sure, you can do that.  are you asking how you would perform the update query?
  2. [code] <?php include 'htmlstart.addin'; ?> <p><strong>1) Content here.</strong> column long long column very long fill fill fill long text text column text silly very make long very fill silly make make long make text fill very long text column silly silly very column long very column filler fill long make filler long silly very long silly silly silly long filler make column filler make silly long long fill very.</p> <p>very make make fill silly long long filler column long make silly silly column filler fill fill very filler text fill filler column make fill make text very make make very fill fill long make very filler column very long very filler silly very make filler silly make make column column </p> <?php include 'htmlend.addin'; ?> [/code] that is the source code of plist.php when you click on services. see something wrong?
  3. [quote author=redbullmarky link=topic=110840.msg448720#msg448720 date=1160265968] anyway - wherever this thread ends up - Alias, as the OP, why dont you go first and tell us? I'd personally love a website that's dedicated to banning Comic Sans (yes, i know there's one already...),[b] Flash[/b], Animated GIF's and the term "Web 2.0" (or any other "bandwagonbuzzwords") all rolled into one. [/quote] surely you mean flash driven sites and not flash itself, right? cuz flash == teh shiz!  Making flash cartoonies and little games are so much fun, i find myself opening up and fiddling around with flash all the time when i need a break from scripting :)
  4. okay i'm really tired, so maybe i'm just not reading that link right..but it looks to me like phpbb script relies on register_globals being ON??? edit: or, well, maybe not. It kinda looks like they..well, in any case, that link looks like it shows you how to do exactly what you are asking..
  5. Not to invalidate your idea (cuz it's not a bad idea), but I think instead of trying to make up several different contests, we should all focus on creating one really good contest, that everybody would enjoy.  on that note, I think that if everybody is serious about the whole contest thing...well, everybody has been like 'sure, it sounds great!' but then it's kinda died down... i know people haven't lost interest, but I guess we have to kind of establish who should be in charge of formally putting this contest together, writing out the rules, etc..?
  6. i bet phpbb's documentation might tell you where to look. Or else, you could just add a little codeblock to your phpbb board page somewhere inside the logged-in phase, that in essence, basically does this: [code] foreach($_SESSION as $key => $val) {   echo "$key : $val <br>"; } [/code] find the session variable name that holds the user's name, and then just check if that session variable isset in your other script. 
  7. does phpbb use cookies to determine if someone is logged in? i thought they used sessions.  shouldn't you be looking for a session variable being set?
  8. [b]Is there a better way to make a cookie have a "Remember Forever" option?[/b] no. all you can do is keep re-setting it.  [b]Also, is there specific way to remove a cookie?, or do you just set it one hour into the past?[/b] that is the specific way to remove a cookie. though i would set it for a day or 2 in the past, not just an hour, due to time zone differences.
  9. .josh

    Rain

    My favorite ones from red's link: -Kung Lao splitting you in 2 with his hat -Lu Kang turning into a dragon and biting off top half of your body -Jax turning his arms into blades and chopping you up in midair and you falling down to the ground in pieces -Sindel sonic screaming the flesh off you -Smoke dropping lots of bombs and the whole damn world explodes - Reptile jumping on you and eating the flesh off your face -Quan Chi rips your leg off and starts beating you to death with it
  10. .josh

    Rain

    [quote author=oldmanice link=topic=110712.msg448117#msg448117 date=1160154201] Yes but Crayon whats the diffrance [/quote] fatalities. need I say more?
  11. here's my ghetto solution: [code] $oldstring = "offers cozy texture and a comfy full fit. Pleated at yoke for a cape-like sweep. Ribbed texture on the yoke and cuffs. Handy side-seam pockets. Full sleeves gathered at cuffs. Woven cotton/polyester. Machine wash. Imported. 25'' long. Sizes: M(14W-16W), L(18W-20W), 1X(22W-24W), 2X(26W-28W), 3X(30W-32W), 4X(34W-36W)."; $d = 'Sizes:'; $strings = explode($d, $oldstring); $strings[1] = $d . $strings[1]; echo "1st part: $strings[0] <br>"; echo "2nd part: $strings[1]"; [/code]
  12. .josh

    Rain

    foolish mortal! you dare compare MK to Tekken?  You will die!
  13. .josh

    Rain

    [quote author=oldmanice link=topic=110712.msg448107#msg448107 date=1160153673] Um no not really because sad little boys like me dont [/quote] [i]o/` The answer my friend, is blowin' in the wind, the answer is blowin' in the wind o/`[/i]
  14. hmm...well the only things on my list of things to do are a few select celebrities and super models ;D j/k
  15. yes, there is a more in-depth member search in the mod admincp but it's just for finding members based on lots of different criteria.  Nothin' really about their threads.  Once the results are listed it only gives a link to their profile, which is what any normal user sees.  So yeah, still no venue for listing actual threads made.
  16. [quote author=honeyboy_20 link=topic=110582.msg447667#msg447667 date=1160092282] thanks Crayon Violent  i will do but i want easy way to that but i am not found in search eng [/quote] oh i'm so sorry that you are too lazy to bother with google.
  17. i don't see any place where you can do that.  however, in advanced search, all that would have to be done really is to all a '*' on keyword place and click on the subject line checkbox and put your name in the 'by user' field.  apparently it won't let you do a * search though.
  18. and if it's the first...well in the forum index just click on the "replies" column to re-sort the posts based on replies. It will show the 0 replies first.
  19. i usually just scroll down the list looking for the ones with 0 replies.  Or by "unanswered" do you mean nobody has responded yet (0 replies) or yet-to-be-solved?  cuz if it's the 2nd, then our solved button would be better to have.
  20. you are using the same array name in your select tags? are you wanting to have 2 seperate arrays like this: array1[0] array1[1] array1[2] array2[0] array2[1] array2[2] or are you wanting a 2d array that looks like this: array[0][0] array[0][1] array[0][2] array[1][0] array[1][1] array[1][2]
  21. except that you could you know, put that in a loop.
  22. you could start a session and use session variables to auto-fill your forms instead. i think... i mean, in theory that should work, but browsers usually use a cached version of the webpage when you hit the back button.  maybe you could put a header in the form.php that will always require it to be a fresh load, so the session method will work?
  23. i was thinking more like if for some reason the script failed to connect to the db or update the db properly, you should have an error trapping/logging mechanism in place to log that stuff so if something goes wrong, you will have clues.
  24. thus is the magic of db queries :) p.s.- like i said earlier, that script is barebones and does nothing for error trapping/logging so you might wanna look into all that, unless you don't care about any of that...
  25. [code] <?php   $conn = mysql_connect('localhost','username','password');   $db = mysql_select_db('dbname',$conn);   $sql = "update tablename set column = column - 1 where column > 0";   $result = mysql_query($sql, $conn); ?> [/code]
×
×
  • 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.