Search Results - VBForums

Search:

Type: Posts; User: penagate

Page 1 of 13 1 2 3 4

Search: Search took 0.52 seconds.

  1. Thread: VB6 is DEAD!

    by penagate
    Replies
    702
    Views
    42,795

    Re: VB6 is DEAD!

    spoken like someone who has never written a GUI! :-)
  2. Thread: MartinLiss

    by penagate
    Replies
    60
    Views
    5,271

    Re: MartinLiss

    Nah, he's not invited.
  3. Replies
    3
    Views
    725

    Re: [RESOLVED] Wrong Time

    I think it would make more sense for the server time to be UTC... though the time seems to be correct for me (UTC+11).
  4. Replies
    21
    Views
    47,524

    Re: Installing MySQL Server 5.5 on Windows 7

    That message means that the pdo_mysql library is missing from your PHP installation.

    Check for this line in php.ini:

    ;extension=php_pdo_mysql.dll

    Make sure it's uncommented (remove the...
  5. Re: Installing PHP 5.3 and Apache HTTP Server on Windows 7

    I haven't used PHP on Windows for a long time (since this thread was written, in fact) but I believe PHP 5.5 is built against VC11 — for which, in addition to the runtime linked above, you will...
  6. Replies
    29
    Views
    1,200

    Re: Need A Team of Developers...

    :lol:

    Deja vu...
  7. Replies
    192
    Views
    15,814

    Re: Do your part for VB6!!

    Not my choice — the Flash Builder IDE is written in Java. I was just pointing out that 100MB of RAM is quite reasonable for an IDE.
  8. Replies
    192
    Views
    15,814

    Re: Do your part for VB6!!

    I weep for you...

    102623

    That's Flash Builder 4.6 (an Eclipse-based IDE) running on Windows 7.
    The top three processes in that list are all Java VMs.

    Visual Studio is not a memory hog by...
  9. Replies
    7
    Views
    1,584

    Re: MySQL 2nd reading speed change

    Late to the party, but still: If you're running MySQL on Linux, you get caching for free, because Linux will cache disk pages in RAM.

    It sounds like there is something badly wrong with your...
  10. Re: Returning specific information with ->ID, ->Account, ->Mail, ->Skype etc...

    I'm not sure exactly what you're looking for.
    Perhaps it's the 'magic' function __get, which lets emulate members without explicitly defining them:


    <?php
    class User
    {
    ...
  11. Thread: why encoded?

    by penagate
    Replies
    8
    Views
    1,154

    Re: why encoded?

    Actually, both GET and POST requests tend to be encoded in the same format (key1=val1&key2=val2, etc., with URL encoding applied):

    100687

    The distinction is purely semantic... with the...
  12. Replies
    37
    Views
    1,977

    Re: Reputation Gems or Lights?

    They are PNG images.
  13. Replies
    205
    Views
    10,937

    Re: The State of VBForums

    I miss nostalgia.
  14. Replies
    4
    Views
    1,279

    Re: Find the last non zero value in an array

    No need to reverse the array...


    function lastNonZero($list)
    {
    for ($i = count($list) - 1; i >= 0; --i)
    if ($list[$i] !== 0)
    return $list[$i];
    return null;
    }
  15. Replies
    18
    Views
    1,803

    Re: how to get job in .net

    That's a ringing endorsement if there ever was one! :lol:
  16. Replies
    18
    Views
    1,803

    Re: how to get job in .net

    That's a ringing endorsement if there ever was one! :lol:
  17. Re: How to reference a element using code-behind?

    Thread moved.
  18. Replies
    5
    Views
    1,289

    Re: Very slow running code....

    You need to import $db1 in the functions:

    global $db1;

    The code you have should produce error messages. Do you have them turned off?

    error_reporting(E_ALL);

    I'm at work now, but I'll...
  19. Replies
    5
    Views
    1,289

    Re: Very slow running code....

    Hard to say exactly which part is taking the most time.

    Some things I would change:
    — It looks like you're opening multiple connections to the database. You should open the connection once, at...
  20. Re: Installing PHP 5.3 and Apache HTTP Server on Windows 7

    Good tips. I'll update the guide soon.
  21. Thread: PHP Thread

    by penagate
    Replies
    1
    Views
    805

    Re: PHP Thread

    http://php.net/set_time_limit

    and

    http://php.net/setcookie
  22. Replies
    22
    Views
    2,273

    Re: Ideas For NES Emulator Name

    NESquick
  23. Replies
    3
    Views
    884

    Re: Programmer's Notebook

    Just got one of these for work:
    http://www.samsung.com/au/consumer/pc-peripherals/notebook-pc/everyday/NP350V5C-S07AU

    It's light enough and it has a proper keyboard (with the numeric keys).
    I...
  24. Replies
    36
    Views
    2,323

    Re: Need advice on old car

    That is a lot of rust... Did you check the floor and chassis rails too? I forsee a lot of bog in your future...
  25. Replies
    1
    Views
    796

    Re: col names using pdo

    Try
    http://php.net/manual/en/pdostatement.getcolumnmeta.php
  26. Replies
    1
    Views
    1,349

    Re: converting mysql to mysqli

    Interesting!

    Just as a reminder: We don't scan links for viruses, so install the software linked above at your own risk.
  27. Replies
    48
    Views
    3,140

    Re: How long is your password?

    Are you saying I shouldn't be doing that?
  28. Replies
    3
    Views
    1,388

    Re: Validate inputs

    You could use the htmlspecialchars function to encode the text before inserting it into the XML document:


    htmlspecialchars($text, ENT_XML1)
  29. Re: how to output only the last 4 items of array in a for loop?

    In case the array contains less than four elements...


    $n = count($foo2[1]);
    for ($i = max(0, $n - 4); $i < $n; ++$i)
    {
    //...
    }
  30. Replies
    49
    Views
    3,545

    Re: 2016 US election predictions.

    I disagree with the assertion that the U.S. economy will worsen over the next four years.
  31. Replies
    11
    Views
    1,135

    Re: Aaaaaaaarrrrghhh!

    I lost about three months worth of work last year when my new SSD died. Like you I hadn't put it in to source control and my backup strategy was reckless (no backups). It took about a week or two...
  32. Replies
    2
    Views
    1,180

    Re: How to change Javascript to work with IE

    The code should work in Internet Explorer versions 9+. In earlier versions the non-standard 'attachEvent' method must be used instead of 'addEventListener'.

    Also, I recommend attaching all event...
  33. Re: What measures do you have in place at your house to take care of intruders?

    Either way, I feel fine about it.
  34. Re: Trying to add a related cars code using PHP/SQL

    Another one with no subquery:

    select img.* from bns_cars_images img join bns_cars car1 on car1.id=img.record_id join bns_cars car2 on car1.type=car2.type where car2.id=360 group by img.record_id;
  35. Re: Trying to add a related cars code using PHP/SQL

    OK, I shouldn't have assumed!

    select img.* from bns_cars car left join bns_cars_images img on img.record_id=car.id where car.type=(select type from bns_cars where id=360) group by img.record_id;
    ...
  36. Re: Trying to add a related cars code using PHP/SQL

    Also, I strongly suggest you get out of this habit as soon as possible:


    $sq = "SELECT * FROM bns_cars WHERE id = (".$_GET['id'].")";
    $dat = mysql_query( $sq );

    This is what's called an SQL...
  37. Re: Trying to add a related cars code using PHP/SQL

    I assume the URL will contain the type number and not the car ID. (You've given 'id' in your example URL, but I think you actually want to search by type.)

    If the type is given:

    select img.*...
  38. Re: [RESOLVED] HELP needed for php storing date-time cookie and display

    No worries. Glad you got it sorted.
  39. Re: HELP needed for php storing date-time cookie and display

    OK, noted. As the moderator, may I offer you some advice in turn? If so, I suggest you drop the SMS-style abbreviations and invest some time in capitalising and punctuating your writing: it's a...
  40. Replies
    5
    Views
    1,239

    Re: Javascript isn't being executed?

    Thread moved.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.