Jump to content

ManiacDan

Staff Alumni
  • Posts

    2,604
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by ManiacDan

  1. Doing it the easy way, yes.  You can obviously load the images in the background in javascript, but that's significantly harder. 

     

    You could also simply print all the images to the screen and make all but the first one "display: none;"  Every 2 seconds, adjust the display of the items to display the next one. 

     

    There's a hundred ways to do this.

     

    -Dan

  2. Do the debug dance.  Scatter alerts() throughout this code to make sure all the variables are what you expect them to be.  It's far easier to ask the computer "what's in this variable" than it is to ask the internet to debug code linked to a form they cannot see.

     

    -Dan

  3. You're free to check out the discussions I'm a part of over on the main DevShed forums clicky), but basically (as Requinix can attest) I help the noobs, which seem at this point to be "everyone."  That's the way it goes though, you have to say "quote your array indicies" 3,000 times a year.  I also start new discussions on the technology (like this, here, and here) for educational and professional reasons.  I rarely have actual questions that I cannot solve, any time I come up with a real question it gets ignored because nobody knows the answer.  One of my devshed threads ended up as a private call to the MySQL dev team (they didn't fix it).

     

    I AM old school, and I DO hang on IRC on occasion (I ran a chan on undernet for a long time) but if I get back into it at work I won't get anything done.

     

    My other "duties" on devshed involve banning the morons, moving the threads, and breaking up arguments.  I don't know if it's better or worse to not have those powers over here.  Thus far I wouldn't even get a chance to use them.

     

    edit hi maq, thanks!

     

    -Dan

  4. Thanks Salathe, the custom forum template is taking some getting used to, but so far this place seems really active.  The mods are ridiculous, I think 30% of the main PHP forum was "moved" threads the first time I loaded it.  I don't think I move more than 10 threads a week on DS.

     

    -Dan

  5. "\x62\141\x73\145\x36\64\x5f\144\x65\143\x6f\144\x65" is a hex representation of base64_decode.  Do this:

    echo base64_decode("JG4xYjEzMGI0MGZlNDYyZWExYWVmYWVhOGNmMTAwZDIyPSJceDYyIjskbmY5Y2Y4ZTgyNGRmM2I0OWU2NjhhM2U
    1MGI0NjA3ZTU9Ilx4NjUiOyRjODEzNTE2ZDlkMDExMmU3MjgwODYwZjlkNzkyOTliNj0iXHg2NiI7JG9jOGM1N2Y
    5YzNmNmFhYmQxYjI2NjkxYjUyOTU4OGEyPSJceDY3IjskYTQxMzcyYzgyODQ3MDgzMDM1ZjVmYTJjZjMxN
    //etc etc etc
    ");

    That gives you raw PHP.  Run it through an auto-formatter (or manually format it) and see what's in there.

     

    -Dan

  6. If we were just going to talk to each other, we could have stayed where we were.

     

    I fully intend to migrate somewhere else once my post count goes up.  The only worthwhile discussions on DS recently have been started by either me or you, or involve how stupid it is to drive away your userbase with invasive ads.

  7. Hello Everyone,

     

    I'm Dan, a moderator of the devshed forums.  DevShed has made some advertising and management changes recently that have caused a bit of an exodus.  Given that one of my friends there (Requinix) is also an avid user HERE, I thought I'd give PHPFreaks a try.

     

    I'm a professional PHP developer with10+ years of experience in large scale business systems.  I hope I can be an asset to the community here.

     

    -Dan

×
×
  • 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.