<?php include("../includes/config.inc.php"); $idaktuelt = $_REQUEST['idaktuelt']; // Do this process if user has browse the file and click the submit button if ($_FILES) { $image_types = Array ("image/bmp", "image/jpeg", "image/jpg", "image/pjpeg", "image/gif", "image/x-png");
Du skal gøre det inden: resize($_FILES["userfile"]["tmp_name"],"tmpFile.extension",800,800); $userfile = addslashes (fread (fopen ("tmpFile.extension", "r"), filesize ($_FILES["userfile"]["tmp_name"])));
Warning: fopen(tmpFile.extension) [function.fopen]: failed to open stream: No such file or directory in c:\websteder\admin\imagedit-aktuelt-ok.php on line 32
Warning: fread(): supplied argument is not a valid stream resource in c:\websteder\admin\imagedit-aktuelt-ok.php on line 32
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.