www.webdeveloper.com

Search:

Type: Posts; User: NogDog

Page 1 of 20 1 2 3 4

Search: Search took 0.24 seconds.

  1. Yes, it's pretty typical to set up a test...

    Yes, it's pretty typical to set up a test environment on your personal machine -- in my case for work it's a notebook PC I can bring home with me. If you need to work on more than one machine, it's...
  2. Replies
    4
    Views
    403

    And if outputting to the browser, you might find...

    And if outputting to the browser, you might find this makes it a bit clearer, especially if you get into multi-dimensional arrays:


    echo "<pre>".print_r($_GET, true)."</pre>";

    :)
  3. We use Git at work. I mostly just use Git via the...

    We use Git at work. I mostly just use Git via the command line, though there is integration for it in many editors/IDEs these days. If you go with GitHub as your repository, you can do a lot of stuff...
  4. Replies
    4
    Views
    1,789

    Ooh...nice job of re-opening an 8-1/2 year old...

    Ooh...nice job of re-opening an 8-1/2 year old thread.
  5. Replies
    5
    Views
    586

    It's optional in the old mysql_*() functions --...

    It's optional in the old mysql_*() functions -- it will pick the last(?)/only connection if there is one.


    Anyway, while I would hope you would migrate away from the old and deprecated mysql...
  6. Possible? Yes. (Search on "screen scraping") ...

    Possible? Yes. (Search on "screen scraping")

    Easy? Can be anything from moderately easy if you know something about server-side programming, to annoyingly difficult if the target web site's...
  7. Replies
    4
    Views
    463

    This line appends text to the query string ending...

    This line appends text to the query string ending in the letter "T" with no space after it:


    $query1 = $query1 . "group by ERDAT";

    This line append a string beginning with the letter "o" with...
  8. Replies
    4
    Views
    463

    PS: I'd highly recommend writing your query in...

    PS: I'd highly recommend writing your query in PHP something along these lines to increase readability while helping to avoid such errors:


    $query1 = <<<EOD
    select
    {$SCHEMAx}VBNN.VKZ,
    FAN11,...
  9. Replies
    4
    Views
    463

    I'm going to guess it's because there's no...

    I'm going to guess it's because there's no white-space between "ERDAT" and "order by". :)
  10. You're probably looking at FTP...

    You're probably looking at FTP for exchanging files with another server. You could also look at SSH2 for more options (including SFTP).
  11. Replies
    12
    Views
    582

    I even have a macro in my editor that inserts...

    I even have a macro in my editor that inserts this when I press Ctrl-Shift-D:


    die("<pre>".var_export($data, 1)."</pre>");

    Then I just replace $data with the variable of interest. Or if I copy...
  12. Replies
    12
    Views
    582

    The two quick and dirty approaches to debugging...

    The two quick and dirty approaches to debugging PHP are error_log() and die(), depending on whether you want to write a message to the PHP error log or stop the program at that point and display...
  13. Replies
    12
    Views
    582

    Can you define "does not work"? What are you...

    Can you define "does not work"? What are you expecting to happen that is not happening or happening in an incorrect way?
  14. Replies
    4
    Views
    372

    Assuming that's...

    <?php } else { echo $row; } ?>
    Assuming that's line 24, then I presume that $row is an array (regardless of what $type_input is).

    One approach would be to forget about $type_input and just figure...
  15. Replies
    4
    Views
    363

    I think 8 is a good minimum. I have 8 on my work...

    I think 8 is a good minimum. I have 8 on my work laptop (now a 3-year-old i7 quad) and have never noticed any memory issues. (But then I don't use any of the Adobe tools, just a decent editor,...
  16. Pretty tough to tell without seeing the actual...

    Pretty tough to tell without seeing the actual code, but somewhere in your PHP code there is either a PDO, MySQLi, or MySQL call that initiates the DB connection (hopefully not the deprecated...
  17. When I started working at CSC in a software test...

    When I started working at CSC in a software test department, I was hired as an Associate Member Technical Staff (Specialist). I rose through the ranks to Member Technical Staff B (Specialist), Member...
  18. Replies
    6
    Views
    1,242

    A bar code of that sort is just a graphic...

    A bar code of that sort is just a graphic representation of a series of numbers, so a single EAN-8 bar code might represent product code "12345678" (and it can only represent 8 digits). If you wanted...
  19. To do what Flickr does is probably rather...

    To do what Flickr does is probably rather complex, in that a lot of resizing calculations have to be going on to figure out what number of images scaled to what height can fit on a row (plus maybe...
  20. Replies
    4
    Views
    363

    You don't necessarily need huge amounts of...

    You don't necessarily need huge amounts of processing power, but I would concentrate on more ram versus spending money on the latest/greatest graphics card. (You don't need amazing 3-D graphics...
  21. Replies
    4
    Views
    413

    For now, get rid of the "@" operator before your...

    For now, get rid of the "@" operator before your call to fopen(), and make sure all error-reporting is enabled.

    (My guess is that it's a file permission issue. Remember that on a *nix system, your...
  22. Replies
    5
    Views
    590

    Here are some GitHub search results you could...

    Here are some GitHub search results you could poke around: https://github.com/search?utf8=%E2%9C%93&q=php+news+system
  23. Replies
    3
    Views
    917

    I just felt like playing around with a different...

    I just felt like playing around with a different variation, to use/ignore at your discretion:


    <?php

    function getRandSerial($numChunks=4, $separator='-')
    {
    $min = 36*36*36;
    $max =...
  24. Well, there are no formal laws or standards for...

    Well, there are no formal laws or standards for most job titles, so it can be whatever your management team wants it to be. :) If you want to stay in a mainly technical role, you might be looking at...
  25. Replies
    11
    Views
    1,321

    Yep, I missed the "edit" part. :)

    Yep, I missed the "edit" part. :)
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles