#23577 [NEW]: ja

From: Date: Sun, 11 May 2003 01:20:44 +0000
Subject: #23577 [NEW]: ja
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-39425@lists.php.net to get a copy of this message
From: androbtech at monosalvaje dot com Operating system: Mac OS X "jaguar" & Windows 2000 PHP version: 4.3.1 PHP Bug Type: Unknown/Other Function Bug description: ja 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 bug report at http://bugs.php.net/?id=23577&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23577&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23577&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23577&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23577&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23577&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23577&r=support Expected behavior: http://bugs.php.net/fix.php?id=23577&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23577&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23577&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23577&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23577&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23577&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23577&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23577&r=gnused

« previous php.bugs (#39425) next »