Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Same Error?

  1. #11
    Join Date
    Mar 2009
    Location
    Western Australia
    Posts
    386
    Tokens
    0

    Default

    Quote Originally Posted by 0x00 View Post
    PHP Code:
    <?php 
    if (isset($button)) {
     
    $file_name = &$_FILES['file']['name']; 
     
    $file_explode explode('.'$file_name); 
     
    $file_ext strtolower(end($file_explode)); 
     
    var_dump($file_ext);
     echo 
    '<br/>';
     
    var_dump($file_name);
     echo 
    '<br/>';
     
    var_dump($file_explode);
    }
    What's it returning?
    Don't understand what you mean, at that point I hadn't finished the script so I was waiting for that to work so I could continue.

    Quote Originally Posted by Homosexual View Post
    I'm such a fail for not reading your post before. Sorry for wasting your time
    Nah man thanks for trying anyway

  2. #12
    Join Date
    Jul 2011
    Posts
    11
    Tokens
    0

    Default

    Quote Originally Posted by Shibby-Shabs View Post
    Don't understand what you mean, at that point I hadn't finished the script so I was waiting for that to work so I could continue.



    Nah man thanks for trying anyway
    When you submit the form, what's it showing with that code?

  3. #13
    Join Date
    Mar 2009
    Location
    Western Australia
    Posts
    386
    Tokens
    0

    Default

    Thanks for helping, I won't bother trying because the problem is solved and it was within the html form.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •