PHP Classes
Icontem

Subject: create Thumbnail on POST


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend!

      Thumbnail Images   All threads   create Thumbnail on POST   (Un) Subscribe thread alerts  
Subject:create Thumbnail on POST
Summary:redirect issue
Messages:1
Author:codedudeman2
Date:2008-07-03 14:28:43
 

  1. create Thumbnail on POST   Reply  
Picture of codedudeman2
codedudeman2
2008-07-03 14:28:43
i use your usefull thumbnail_images.class, and it works!
but if wanna create thumbnails on POST and after this redirect to a summary-page. if i include your class then the redirect wont work, whitout it works!

my code:
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "save")) {
require_once("../thumbnail_images.class.php");

//Thumb_PDF

$thumb1 = new thumbnail_images();
$thumb1 -> PathImgOld = "../../files/".$pic;
$thumb1 -> PathImgNew = "../../files/thumb_".$pic;
$thumb1 -> NewWidth = 45;
$thumb1 -> NewHeight = 60;
$thumb1 -> create_thumbnail_images();

$insertGoTo = "check.php";

header(sprintf("Location: %s", $insertGoTo));
}

why i does the $insertGoTo not work whit your class?
thanks a lot for help

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products