.apk uploader..how?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    .apk uploader..how?

    in my uploader i have this
    Code:
    $ct['sis'] = 'application/symbian.install';
    for symbian applicati0ns.
    Now i want to have for android applications or .apk files...

    #2
    Originally posted by hi_jakkk View Post
    in my uploader i have this
    Code:
    $ct['sis'] = 'application/symbian.install';
    for symbian applicati0ns.
    Now i want to have for android applications or .apk files...
    use zip mime it will work too

    Comment


      #3
      To confirm the mime of a file you don't know, do this

      PHP Code:
      <form action="" method="post" enctype="multipart/form-data">
          <input type="file" name="file" />
          <input type="submit" />
      </form>
      <?php
      echo nl2br(print_r($_FILES['file'], 1));
      ?>
      The result will be something like this

      Code:
      Array
      (
      [name] => Blackmart Alpha 0.49.93.apk
      [type] => application/vnd.android.package-archive
      [tmp_name] => /tmp/phpPLy5a8
      [error] => 0
      [size] => 264900
      )
      BTW, validating files by checking its mime type is unsafe
      I need some facebook likes, can you please help me
      http://facebook.com/softwarefreakin
      I noticed social media is really powerful
      Well DONE is better than well SAID

      Comment

      Working...
      X