|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3784 Variable mime type missing
Submitted: 2000-03-09 11:10 UTC Modified: 2005-03-31 16:13 UTC
From: orueda at cistia dot es Assigned:
Status: Wont fix Package: Misbehaving function
PHP Version: 3.0.14 OS: IRIX 6.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
25 - 25 = ?
Subscribe to this entry?

 [2000-03-09 11:10 UTC] orueda at cistia dot es

I have a form. This form upload one file. The php manual say I can to read the variable fieldname_type to get the mime type but I don?t get this variables. 

This is the form html: 

<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> 
<div align=center> 
<a href="index.php">Home</a> | 
<a href="buscar.php">Buscar</a> | 
<a href="insertar.php">Insertar</a> | 
<a href="secciones.php">Secciones</a> 
<br><br><form action="parametros.php" method="post" enctype="multipart/form-data"> 
<input type="hidden" name="_fdAccArticulos" value="1"> 
<table > 
<tr > 
<td > 
<td > 
<input type="text" name="_fdValArticulos1" value="" > 
<input type="hidden" name="_fdTipArticulos1" value="10"> 
<input type="hidden" name="_fdCamArticulos1" value="titulo"> 
<tr > 
<td > 
<td > 
<select name="_fdValArticulos2" > 
<option value="33">Comunicaciones</option> 
<option value="2">x</option> 
<option value="34">Eventos</option> 
<option value="4">????? ? ??I?? ? ??</option> 
<option value="5">a\'a</option> 
<option value="6">comillas \"</option> 
<option value="23">d</option> 
<option value="24">f</option> 
<option value="9">comillas "</option> 
<option value="20">k </option> 
<option value="36">Tecnolog?as</option> 
<option value="12">????????</option> 
<option value="13">hh</option> 
<option value="14">j</option> 
<option value="15">gg</option> 
<option value="16">d</option> 
<option value="21">reto </option> 
<option value="22"></option> 
<option value="25">x</option> 
<option value="38">alala</option> 
<option value="27">casa</option> 
<option value="28">m?vil</option> 
<option value="29">cs'20 d</option> 
<option value="30">"</option> 
<option value="31">ll</option> 
<option value="37">Desarrollo</option> 
<input type="hidden" name="_fdTipArticulos2" value="20"> 
<input type="hidden" name="_fdCamArticulos2" value="idseccion"> 
<tr > 
<td > 
<td > 
<input type="text" name="_fdValArticulos3" value="" > 
<input type="hidden" name="_fdTipArticulos3" value="10"> 
<input type="hidden" name="_fdCamArticulos3" value="texto"> 
<tr > 
<td > 
<td > 
<input type="checkbox" name="_fdValArticulos4" value="1" > 
<input type="hidden" name="_fdTipArticulos4" value="30"> 
<input type="hidden" name="_fdCamArticulos4" value="publicada"> 
<tr > 
<td > 
<td > 
<input type="hidden" name="MAX_FILE_SIZE" value="20480"> 
<input type="file" name="_fdValArticulos5" > 
<input type="hidden" name="_fdTipArticulos5" value="40"> 
<input type="hidden" name="_fdCamArticulos5" value="foto"> 
<tr > 
<td rowspan="2"> 
<input type="submit" value="Insertar" > 

<a href="index.php">Home</a> | 
<a href="buscar.php">Buscar</a> | 
<a href="insertar.php">Insertar</a> | 
<a href="secciones.php">Secciones</a> 

parametros.php is: 

  for (reset($HTTP_POST_VARS); $strKey = key ($HTTP_POST_VARS); next($HTTP_POST_VARS)) { 
     echo "$strKey = $HTTP_POST_VARS[$strKey]\n"; 

and I get this: 

_fdAccArticulos = 1 
_fdValArticulos1 = a 
_fdTipArticulos1 = 10 
_fdCamArticulos1 = titulo 
_fdValArticulos2 = 33 
_fdTipArticulos2 = 20 
_fdCamArticulos2 = idseccion 
_fdValArticulos3 = a 
_fdTipArticulos3 = 10 
_fdCamArticulos3 = texto 
_fdValArticulos4 = 1 
_fdTipArticulos4 = 30 
_fdCamArticulos4 = publicada 
MAX_FILE_SIZE = 20480 
_fdValArticulos5_name = curve2.gif 
_fdValArticulos5 = /www/htdocs/tmp/phpAAAa00RVx 
_fdValArticulos5_size = 4110 
_fdTipArticulos5 = 40 
_fdCamArticulos5 = foto 

where is the variable _fdValArticulos5_type? 

Oscar =;-(


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jan 25 18:03:40 2022 UTC