dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: michaelw90

Search: Search took 0.01 seconds.

  1. Yes, I realized array_diff() wasn't going to work...

    Yes, I realized array_diff() wasn't going to work as it wasn't possible to get the full file path back without comparing with the original filepaths. in_array proved much more useful as it allows me...
  2. Sorry ginerjm. I did finally manage to figure it...

    Sorry ginerjm. I did finally manage to figure it out by having it loop through the main array instead of using array_diff and check for only the filename using pathinfo['filename'].


    <?php
    ...
  3. The extensions are always different, .psd, png,...

    The extensions are always different, .psd, png, jpg, ai, pdf, etc.
  4. * Forgot the code, I've just added $withoutExt. ...

    * Forgot the code, I've just added $withoutExt.


    function all_wpdm_files($folder=NULL) {
    $wpdm_uploads_folder = UPLOAD_DIR;

    if ($folder == NULL) {
    if ($dir =...
  5. Hey ginerjm, thanks for answering. I just tried...

    Hey ginerjm, thanks for answering. I just tried that altering my first function to what I have below. The problem is that the third array needs the extensions. That's why I was wondering if...
  6. How can I make array_diff ignore string extension?

    Hi,

    I'm trying to compare two arrays for differences and give the results to a third variable using array_diff($wpdm_uploads_folder, $thumbs_uploads_folder);

    The reason I'm doing this is to...
  7. Replies
    2
    Views
    1,178

    Sorry, after some trial and error I found the...

    Sorry, after some trial and error I found the problem...

    If anyone's wondering i just had to put overflow: hidden; to the footer container :)
  8. Replies
    2
    Views
    1,178

    I've realized I could give the footer a set...

    I've realized I could give the footer a set height, though it feels as it's becoming a quick fix, rather then using the appropriate method. It wouldn't change automatically in regard to the content,...
  9. Replies
    2
    Views
    1,178

    Footer Trouble

    Hi there, I am having a problem with my footer, and I'm unsure how to solve it.

    http://bildr.no/view/1403363


    As you can see from the image i linked, the footer background doesn't cover all...
  10. Replies
    2
    Views
    1,216

    a { text-decoration: none; }

    a {
    text-decoration: none;
    }
Results 1 to 10 of 10
HTML5 Development Center



Recent Articles