You are here: Help with PHP File Upload Issue « PHP Programming Language « IT news, forums, messages
Help with PHP File Upload Issue

Posted by David on 10/30/06 05:31

I am attempting to upload files via. PHP 4.4.4. The
'$_FILES['update']['tmp_name'][0]' resolves to '/tmp/phpey9MpD', but
when I go to the /tmp dir. I do not see any php* file.

Could this be a issue with PHP or unix permissions for the web server?

Do I need to set an absolure dir. in the INI to make this work?

Confused as this works fine under another system with PHP 5.x.

============== (the html upload form) ===============
<form
name="upload" action="admin_test.php" method="post"
enctype="multipart/form-data">
<input
type="hidden" name="what" value="process">
<table
cellpadding="2" cellspacing="0" border="0" width="90%" align="center">
<tr>

<td class="reg">1. </td>

<td class="reg"><input type="File" name="update[]" size="15"></td>
</tr>
<tr>

<td class="reg">2. </td>

<td class="reg"><input type="File" name="update[]" size="15"></td>
</tr>
<tr>

<td align="right">&nbsp;</td>

<td><input class="button" type="submit" name="loginbtn"
value="Upload"></td>
</tr>
</table>
</form>

 

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

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