|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-01-11 07:34 UTC] reckert at informationsgesellschaft dot com
The following php-Code produces an "Access Violation Error at 78012DBF" (in IIS5 using php4isapi.dll):
<?
$b = new SWFBitmap (fopen('test.jpg', 'rb'));
?>
The same expamle (with the same image) does work under Linux/Apache (but on PHP 4.0.6).
Other Ming functions work fine on IIS5 too, like creating shapes and adding them to a movie.
I made sure that php_ming.dll and ming.dll are correct versions that came with the latest archive php-4.1.1-Win32.zip.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 12:00:01 2025 UTC |
For PHP 4.0.8 I had function that converted .jpg in .swf ----------------- Ming_setScale(20); $fp = fopen($dram,"r"); $end=10000000; $i = fread($fp,$end); $img = new SWFBitmap($i); fclose($fp); $m = new SWFMovie(); $m->setDimension(100,100); $m->add($img); $m->save("myURL/movie.swf"); ImageDestroy($new); ---------------------------- But whan I install PHP 4.1.1 function stops working on string $img = new SWFBitmap($i); and return "Sorry, can't tell what type of file ???? is in ". I didn't change anything! I really need help in this!