You are here: $_FILES problem « PHP Programming Language « IT news, forums, messages
$_FILES problem

Posted by Iced Milk Tea on 09/07/05 12:35

I am trying to program a upload system.

The following code work very fine,

$file_name = $_FILES['uploadFile'. $x]['name'];
$size = filesize($file_name);
$type = mime_content_type($file_name);

However, when I change to

$file_name = $_FILES['uploadFile'. $x]['name'];
$size = $_FILES['uploadFile'. $x]['size'];
$type = $_FILES['uploadFile'. $x]['type'];

The program fail to give me any result.

Is there any problem happan in my code?

Thanks in advance for your advice.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация