Reply to Re: I can not get file uploads to show up when I upload a file

Your name:

Reply:


Posted by Jerry Stuckle on 08/23/07 03:48

lawrence k wrote:
> I've a form that starts off like this:
>
>
> <form method="post" action="profile.php?
> id=5&formName=my_story_edit.htm" enctype="multipart/form-data">
>
> <p>Email address:<br />
> <input type="text" name="totalFormInputs[users][5][email_address]"
> value="lawrence@krubner.com" /></p>
>
> <p>Zip code:<br />
> <input type="text" name="totalFormInputs[users][5][zip_code]"
> value="22902" /></p>
>
> <p>Personal image:<br />
> <input type="file" name="totalFormInputs[users][5][upload_file]" /></
> p>
>
>
>
>
>
> Oddly enough, the "upload_file" has suddenly disappeared from the
> uploaded array. When I hit $totalFormInputs with print_r, this is what
> I get:
>
>
>
> Array
> (
> [users] => Array
> (
> [5] => Array
> (
> [description] => I grew up in New Jersey.
> [email_address] => lawrence@krubner.com
> [zip_code] => 22902
> [time] => 1187380627
> )
>
> )
>
> )
>
>
>
> Why is the file input not show up?
>
> Everything was working fine a month ago, and now it is broke.
>
> Any help is very much appreciated.
>

Nothing entered into the field? If it's empty, nothing will be returned.

What does print_r($_POST) show?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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