Search results

  1. Heaplink

    Visual Basic Help (Hotkeys)

    Yes, this exactly what it does. The first line of code declares a function using the user32 lib and alias' the GetAsyncKeyState (which is the method, where the magic happens). The other lines just checks if those key states is TRUE and if they are, they run the code. This is a very simple...
  2. Heaplink

    Visual Basic Help (Hotkeys)

    Good question. But the answer is no. The user32 library is the name of the library, no matter what processor you have. I know it is strange, but that is one of the many strange things about Microsoft's naming conventions.
  3. Heaplink

    Return username from MySQL

    No problem :-) Unfortunately this thread is made in a request section, so you can't mark my answer as the best answer. The thread would have to be moved to a Help section.
  4. Heaplink

    Return username from MySQL

    Are you sure you logged out (reset session) and tried again?
  5. Heaplink

    Return username from MySQL

    After reading through the login.php file for the script you mentioned, it does not register a variable called username in the global $_SESSION variable. To fix this, add this to your login.php $_SESSION['username'] = $username; right below the $_SESSION['loggedin'] = "1";
  6. Heaplink

    Visual Basic Help (Hotkeys)

    The first thing is that, if you wan't to work with global hotkeys (hotkeys that work outside your application window) you'd have to use the WinAPI (Windows' core API). This can be done by doing this Private Declare Function GetKeyPress Lib "user32" Alias "GetAsyncKeyState" (ByVal key As...
  7. Heaplink

    Post here, guys.

    42 This is obviously the best answer.
  8. Heaplink

    Introduction MY INTRO K

    Who the fuck is Jamie and who the fucking fuck is Reece. I welcome you anyway. Did you know you can buy 2 punches in the face for $5? You get one for free with it!
  9. Heaplink

    Introduction RedNeck Kyle.

    So I heard about <p> tags. Nah, nobody use them. Welcome to you.
  10. Heaplink

    Video Apparently, I don't exist...

    I love Vsauce.. Check out minutephysics, Khan Academy and numberphile too
  11. Heaplink

    This or That

    Sony My dad or your dad?
  12. Heaplink

    Quick cover photo I made

    There's a copyright on the photo... Editing a photo does not make it yours - please advise who took the original photos.
  13. Heaplink

    Feedback on my designs?

    From the top: Typography wise, never go with Verdana nor Tahoma. They don't look good, and they are not good enough for people to read. Stick with a typography for headlines and paragraphs + other content. I recommend you to use a sans-serif for header and serif for paragraphs. However, since...
  14. Heaplink

    Introduction Hiya to all bros, From Australia

    Welcome young lad
  15. Heaplink

    Introduction Heyaaa! Here comes the ASIAN

    Welcome Mr. Derp4u hope you will enjoy your time here at DevBest!
  16. Heaplink

    Whats the best ore in minecraft?

    Gold is a good material, however it breaks very fast and therefore is more or less useless if you use it for tools to do much work. Other than that I like diamonds mmhmmhmhmmhmmh.
  17. Heaplink

    Show DevBest [PHP] Small Explode Script

    Even smaller foreach($tags = ; as $k => $v) { echo "String #{$k}: {$v}"; } Small and much faster for($i = 0, $tags = explode(', ', $string); $i < count($tags); ++$i) { echo "String #{$k}: {$v}"; }
  18. Heaplink

    [PHP]Check all POST's or GET's.[PHP]

    Always use === no matter what. If you use == to avoid something, you're doing it wrong and your application is not stable.
  19. Heaplink

    Non-local Online Users Script -- Evaluate my Code

    Even small things can help you further in learning new stuff, that's how I did it. Take the steps small and grow as you feel for more challenge.
  20. Heaplink

    Non-local Online Users Script -- Evaluate my Code

    A HTML file cannot be interpreted as PHP (unless you use mod_rewrite - but is a very unsecure and bad way to do). Do something like this instead: <?php require_once 'simple_html_dom.php'; // Download here http://sourceforge.net/projects/simplehtmldom/files/simple_html_dom.php/download // It...
Top