Changeset 3272
- Timestamp:
- Nov 4, 2008, 5:46:47 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca-php/examples/www/export.php
r3262 r3272 26 26 27 27 $file = isset($_FILES['file']) ? $_FILES['file']['tmp_name'] : NULL; 28 $filename = isset($_FILES['file']) ? $_FILES['file']['name'] : NULL; 28 29 $format = isset($_REQUEST['format']) ? $_REQUEST['format'] : NULL; 29 30 … … 111 112 if(caca_import_file($cv, $file, "") < 0) 112 113 { 113 die( $argv[0] . ": `" . $file. "' has unknown format\n");114 die("`" . htmlspecialchars($filename) . "' has unknown format\n"); 114 115 } 115 116 }
Note: See TracChangeset
for help on using the changeset viewer.