<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Not possible I'm afraid. And setting the filename extension has
    nothing whatsoever to do with the actual file format (i.e. the
    contents of the file) anyway! If you were to restrict users to
    uploading .pdf only then they would just rename their movies to have
    a .pdf on the end of the filename and you're back to where you
    started.<br>
    <br>
    Not that it's possible anyway, but it's also pointless. Sorry.<br>
    <br>
    Jules.<br>
    <br>
    <div class="moz-cite-prefix">On 15/03/2013 07:30, Simon Ko wrote:<br>
    </div>
    <blockquote
      cite="mid:1363332638.48855.YahooMailNeo@web190803.mail.sg3.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:tahoma,
        new york, times, serif;font-size:13pt">
        <div style="RIGHT: auto">Hi,</div>
        <div style="RIGHT: auto">&nbsp;</div>
        <div style="RIGHT: auto">Is there any way&nbsp;configure to accept
          users uploading the <var id="yui-ie-cursor"></var>file format
          such as .xlsx, docx, pptx, pdf... only.</div>
        <div style="RIGHT: auto">&nbsp;</div>
        <div style="RIGHT: auto">Thanks,</div>
        <div style="RIGHT: auto">Simon</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
      <br>
      <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng MBCS CITP CEng

'Science is an integral part of culture. It's not this foreign
 thing, done by an arcane priesthood. It's one of the glories of
 human intellectual tradition.' - Stephen Jay Gould

<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
    </blockquote>
  </body>
</html>