note 62427 added to function.imagecopyresampled

From: Date: Tue, 28 Feb 2006 14:23:39 +0000
Subject: note 62427 added to function.imagecopyresampled
Groups: php.notes 
Request: Send a blank email to php-notes+get-104558@lists.php.net to get a copy of this message
Looks like if you give big values to arguments your script will end with a : Fatal error: Maximum execution time of 30 seconds exceeded in /xxxxxxxx.php on line 73 And if you append to have used the function with @ you will wonder for hours where/why your script dies... (that's what I did) The arguments I used for my test are : Array ( [0] => Resource id #102 [1] => Resource id #101 [2] => 0 [3] => 0 [4] => -29600 [5] => -29700 [6] => 100 [7] => 100 [8] => 60000 [9] => 60000 ) I hope this will save time to some people... ---- Server IP: 194.246.101.61 Probable Submitter: 82.127.86.19 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.imagecopyresampled.php Edit -- http://master.php.net/note/edit/62427 Del: integrated -- http://master.php.net/note/delete/62427/integrated Del: useless -- http://master.php.net/note/delete/62427/useless Del: bad code -- http://master.php.net/note/delete/62427/bad+code Del: spam -- http://master.php.net/note/delete/62427/spam Del: non-english -- http://master.php.net/note/delete/62427/non-english Del: in docs -- http://master.php.net/note/delete/62427/in+docs Del: other reasons-- http://master.php.net/note/delete/62427 Reject -- http://master.php.net/note/reject/62427 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#104558) next »