<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1027232" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1027232</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/php-file-upload-what-am-i-doing-wrong#comment-1162257</link>
    <description> &lt;p&gt;take basename() off the $uploadfile variable&lt;/p&gt;
&lt;p&gt;should also be careful of the upload size, most hosts set maximum file size to about 2mb, php&#039;s default is about 8mb I think&lt;/p&gt;
&lt;p&gt;For your security check you should use if(is_uploaded_file($_FILES[&#039;userfile&#039;][&#039;tmp_name&#039;])) { ... }&lt;br /&gt;
if you can&#039;t use $_FILES change it to $HTTP_POST_FILES&lt;br /&gt;
you should even check it is a pdf file before moving&lt;/p&gt;
 </description>
     <pubDate>Thu, 02 Dec 2004 22:33:43 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1162257 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
