ElaKiri Community
Downloads
Go Back   ElaKiri Community > General > ElaKiri Talk!
Reload this Page php උදව්වක් ඕනේ
Reply
 
Thread Tools
(#1)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
smile php උදව්වක් ඕනේ - 01-09-2020, 10:25 AM

PHP Code:

<?php
$dest 
imagecreatefrompng('a.png');
$src imagecreatefrompng('b.png');

imagealphablending($destfalse);
imagesavealpha($desttrue);

imagecopymerge($dest$src6460200328328100); //have to play with these numbers  

header('Content-Type: image/png');
imagepng($dest);

imagedestroy($dest);
imagedestroy($src);
?>
මචන්ලා මේ ‌කෝඩ් ඒකේ output ඒක ‌ප‌ේජ් ඒකක පෙන්නන්නේ ‌කොහොමද ? ම‌ේ ක‌ෝඩ් ඒක‌ෙ‌න් ඉම‌ේජ් ඒක ෆුල් ‌ෙපේජ් ‌ෙපෙන්නනවා විතරයි

මේ වගේ ‌ෙපෙන්නන්න ඔ්න

PHP Code:
<img src="<?php echo "$dest?>"  />

Last edited by Casinoboy; 01-09-2020 at 10:28 AM.
Reply With Quote
(#2)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 10:28 AM

bump
Reply With Quote
(#3)
Old
ryandok's Avatar
ryandok ryandok is offline
Senior Member
ryandok has much to be proud ofryandok has much to be proud ofryandok has much to be proud ofryandok has much to be proud ofryandok has much to be proud ofryandok has much to be proud ofryandok has much to be proud ofryandok has much to be proud ofryandok has much to be proud ofryandok has much to be proud ofryandok has much to be proud of
 
Posts: 17,359
Join Date: Oct 2011
Location: වලපල්ලේ
01-09-2020, 10:32 AM

bump
Reply With Quote
(#4)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 10:36 AM

bump
Reply With Quote
(#5)
Old
kosandpol kosandpol is online now
Senior Member
kosandpol is a name known to allkosandpol is a name known to allkosandpol is a name known to allkosandpol is a name known to allkosandpol is a name known to allkosandpol is a name known to allkosandpol is a name known to allkosandpol is a name known to allkosandpol is a name known to allkosandpol is a name known to allkosandpol is a name known to all
 
Posts: 44,875
Join Date: Jun 2008
01-09-2020, 10:38 AM

try:
Code:
<html>
<body>
<img src=“image.php”>
</body>
</html>
where image.php is your php code to create the PNG file.
Reply With Quote
(#6)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 10:48 AM

bupf
Reply With Quote
(#7)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 11:04 AM

bump
Reply With Quote
(#8)
Old
delmar's Avatar
delmar delmar is offline
Senior Member
delmar is a splendid one to beholddelmar is a splendid one to beholddelmar is a splendid one to beholddelmar is a splendid one to beholddelmar is a splendid one to beholddelmar is a splendid one to beholddelmar is a splendid one to beholddelmar is a splendid one to beholddelmar is a splendid one to beholddelmar is a splendid one to beholddelmar is a splendid one to behold
 
Posts: 27,679
Join Date: Oct 2007
Location: හැමතැනම
01-09-2020, 11:24 AM

machan ubata one image eka print wenne nathuwa ara image eke source code eka witharak pennannada?
Reply With Quote
(#9)
Old
sidathsaumya sidathsaumya is online now
Senior Member
sidathsaumya is a splendid one to beholdsidathsaumya is a splendid one to beholdsidathsaumya is a splendid one to beholdsidathsaumya is a splendid one to beholdsidathsaumya is a splendid one to beholdsidathsaumya is a splendid one to beholdsidathsaumya is a splendid one to beholdsidathsaumya is a splendid one to beholdsidathsaumya is a splendid one to beholdsidathsaumya is a splendid one to beholdsidathsaumya is a splendid one to behold
 
Posts: 43,134
Join Date: Jun 2009
Location: Seeduwa
Send a message via Yahoo to sidathsaumya
01-09-2020, 11:49 AM

bp
Reply With Quote
(#10)
Old
Casinoboy's Avatar
Casinoboy Casinoboy is offline
Senior Member
Casinoboy has a spectacular aura aboutCasinoboy has a spectacular aura aboutCasinoboy has a spectacular aura about
 
Posts: 3,164
Join Date: Jun 2011
01-09-2020, 12:09 PM

Quote:
Originally Posted by delmar View Post
machan ubata one image eka print wenne nathuwa ara image eke source code eka witharak pennannada?
mata a output image eka view wenna one web page ekaka
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright © 2006 - 2011 ElaKiri™ Beta2.Evo vBulletin, vBa iBproArcade Subdreamer I-Magic MKv

Page generated in 0.02339 seconds with 11 queries