<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1024774" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1024774</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/upload-script#comment-1151459</link>
    <description> &lt;p&gt;That doesn&#039;t look like a complete script, the php file is trying to display things like the size etc but you havent asked for them&lt;br /&gt;
	print(&quot;File name: $file_name/n&quot;);&lt;br /&gt;
	print(&quot;File size: $file_size bytes/n&quot;);&lt;/p&gt;
&lt;p&gt;file_name and file_size will always be false (empty) as they aren&#039;t assigned a value anywhere.&lt;/p&gt;
&lt;p&gt;You also need to set your path, if on web server something like var/site/home or whatever, on localhost (pc) set to your php file directory root. &lt;/p&gt;
&lt;p&gt;Your question in post #8, no you can&#039;t scan your file with antivirus program, on your own server you can. You can however set limits to what type of files can be uploaded, what size, where from ... play safe, never trust anybody.&lt;/p&gt;
&lt;p&gt;you might need to find yourself a better upload script, tried hotscripts.com ?&lt;/p&gt;
 </description>
     <pubDate>Sat, 15 May 2004 00:30:15 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1151459 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/upload-script#comment-1151455</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://www.php.net/manual/en/features.file-upload.php#features.file-upload.post-method&quot; class=&quot;bb-url&quot;&gt;http://www.php.net/manual/en/features.file-upload.php#features.file-upload.post-method&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;ctrl+f for &quot;garyds at miraclemedia dot ca&quot;&lt;/p&gt;
&lt;p&gt;Of course, if you&#039;re using someone else&#039;s script, you should check with the developer first.&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 May 2004 23:16:58 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1151455 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/upload-script#comment-1151425</link>
    <description> &lt;p&gt;by-the-way, Im using a win2k server&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 May 2004 08:49:10 +0000</pubDate>
 <dc:creator>wyatt_tsik</dc:creator>
 <guid isPermaLink="false">comment 1151425 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/upload-script#comment-1151400</link>
    <description> &lt;p&gt;Yes I did. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt; &lt;/p&gt;
&lt;p&gt;I have attached the files Im currently working with... pls help  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 14 May 2004 01:32:25 +0000</pubDate>
 <dc:creator>wyatt_tsik</dc:creator>
 <guid isPermaLink="false">comment 1151400 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/upload-script#comment-1151354</link>
    <description> &lt;p&gt;Did you make changes to your script?&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 May 2004 15:28:02 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1151354 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/upload-script#comment-1151336</link>
    <description> &lt;p&gt;Thanks for the response, I really appreciate it. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;Still, the upload.php file are the one that is being uploaded and not the file that I had specified when browsed.&lt;/p&gt;
&lt;p&gt;Since I am an amateur in this field, I cant seem to know where the programming of the php (upload.php) or demo.html files got wrong?&lt;/p&gt;
&lt;p&gt;Also, is it possible to have the file scanned by an anti-virus apps before saving it to the server?  May I also get an advice advice.  pls.&lt;/p&gt;
&lt;p&gt;Pls help!  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Thu, 13 May 2004 08:05:49 +0000</pubDate>
 <dc:creator>wyatt_tsik</dc:creator>
 <guid isPermaLink="false">comment 1151336 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/upload-script#comment-1151281</link>
    <description> &lt;p&gt;True. I seem to bump into newer versions more than older that won&#039;t use the $HTTP_ because it&#039;s not set properly for the script. It would have to be a much older version (than 4.1.0) for it not to work.&lt;/p&gt;
&lt;p&gt;Regardless, the links provide all the helpful information you should need to get it working. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 12 May 2004 17:08:04 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1151281 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/upload-script#comment-1151274</link>
    <description> &lt;p&gt;lol it&#039;s $HTTP_ or $_FILES . i played it safe just incase he had an old version of PHP.&lt;/p&gt;
 </description>
     <pubDate>Wed, 12 May 2004 15:11:10 +0000</pubDate>
 <dc:creator>s0da</dc:creator>
 <guid isPermaLink="false">comment 1151274 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/upload-script#comment-1151257</link>
    <description> &lt;p&gt;Whoa, guys... &lt;/p&gt;
&lt;p&gt;It&#039;s $_FILES, not $_POST nor the old $HTTP_ stuff.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.php.net/features.file-upload&quot; class=&quot;bb-url&quot;&gt;http://www.php.net/features.file-upload&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.php.net/manual/en/reserved.variables.php#reserved.variables.files&quot; class=&quot;bb-url&quot;&gt;http://www.php.net/manual/en/reserved.variables.php#reserved.variables.files&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 12 May 2004 13:31:16 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1151257 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/upload-script#comment-1151254</link>
    <description> &lt;p&gt;I&#039;m going to move this post to server side scripting (just in the interest of forum cleanliness &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;)&lt;/p&gt;
 </description>
     <pubDate>Wed, 12 May 2004 13:08:45 +0000</pubDate>
 <dc:creator>Megan</dc:creator>
 <guid isPermaLink="false">comment 1151254 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
