Re: [PHP] Creating Image v2... storing thumblains...

2002-08-01 Thread mp
Oh don't worry about this... I've already found the mistake... > Thanks to those who helped me last time about creating image, but now there > is another problem... > I'm making a thumblain like this: > > $base_size = 300; > > $size = GetImageSize($image1); > $kof =

[PHP] Creating Image v2... storing thumblains...

2002-07-31 Thread mp
Thanks to those who helped me last time about creating image, but now there is another problem... I'm making a thumblain like this: $base_size = 300; $size = GetImageSize($image1); $kof = ($size[0] > $size[1]) ? $size[0] : $size[1]; $koef = ($base_size / $kof);

[PHP] Creating Image...

2002-07-31 Thread mp
I want to create simple image... I execute this script: $im = imagecreate (50, 100); $fp = fopen("test/im.jpg","w"); fwrite($fp, imagegd($im)); fclose($fp); But there is some problems about this... Could somebody help me? -- PHP General Mailing List (http://www.php.net/) To unsubscrib

[PHP] PHP and JavaScript

2002-05-26 Thread mp
Hi, php-general, I make this kind of PHP script(script.php): script.php And in HTML (other.html) file I write: But there is some mistake. Does anybody can help me? Thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php