summaryrefslogtreecommitdiff
path: root/views/Redundant/image.php
diff options
context:
space:
mode:
authorFahim2016-01-26 10:25:22 +0530
committerFahim2016-01-26 10:25:22 +0530
commit16af7c0f9d5040fdeaf36c8b7d47e62ff4e8d980 (patch)
tree5a541828955b1c164ab62cff491366d1666dca35 /views/Redundant/image.php
downloadeSimWebApp-16af7c0f9d5040fdeaf36c8b7d47e62ff4e8d980.tar.gz
eSimWebApp-16af7c0f9d5040fdeaf36c8b7d47e62ff4e8d980.tar.bz2
eSimWebApp-16af7c0f9d5040fdeaf36c8b7d47e62ff4e8d980.zip
First Commit
Diffstat (limited to 'views/Redundant/image.php')
-rw-r--r--views/Redundant/image.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/views/Redundant/image.php b/views/Redundant/image.php
new file mode 100644
index 0000000..5ba14c5
--- /dev/null
+++ b/views/Redundant/image.php
@@ -0,0 +1,19 @@
+<?php
+$my_img = imagecreate( 200, 80 );
+$background = imagecolorallocate( $my_img, 0, 0, 255 );
+$text_colour = imagecolorallocate( $my_img, 255, 255, 0 );
+$line_colour = imagecolorallocate( $my_img, 128, 255, 0 );
+imagestring( $my_img, 4, 30, 25, "thesitewizard.com", $text_colour );
+imagesetthickness ( $my_img, 5 );
+imageline( $my_img, 30, 45, 165, 45, $line_colour );
+
+header( "Content-type: image/png" );
+imagepng( $my_img );
+imagecolordeallocate( $line_color );
+imagecolordeallocate( $text_color );
+imagecolordeallocate( $background );
+imagedestroy( $my_img );
+?>
+
+
+