#23577 [Opn->Bgs]: Uploading problems!!!!! aM angry!

From: Date: Sun, 11 May 2003 06:09:05 +0000
Subject: #23577 [Opn->Bgs]: Uploading problems!!!!! aM angry!
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39432@lists.php.net to get a copy of this message
ID: 23577 Updated by: georg@php.net Reported By: androbtech at monosalvaje dot com -Status: Open +Status: Bogus Bug Type: Unknown/Other Function Operating System: Mac OS X "jaguar" & Windows 2000 PHP Version: 4.3.1 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. . Previous Comments: ------------------------------------------------------------------------ [2003-05-10 20:21:40] androbtech at monosalvaje dot com k ------------------------------------------------------------------------ [2003-05-10 20:20:44] androbtech at monosalvaje dot com I've tried everything for uploading some data to a mysql database, the configuration in the PHP.INI is fine and I don't know what is it. <?php if(!$_GET["x"]) { echo("<form method=post action=index.php?x=1 enctype=\"multipart/form-data\"><input type=file name=archivo><input type=submit></form>"); } else { $a = fopen($_FILES["archivo"], "r"); $leer = fread($a , $_FILES["archivo"]["size"]); $leer = addslashes($leer); header("Content-Type: $_FILES[archivo][type]"); echo($leer); } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23577&edit=1

« previous php.bugs (#39432) next »