Archive

Archive for October, 2008

Making Border Image with PHP and GD Library

October 27th, 2008 Admin 3 comments

As i know, PHP don’t have a function to create image border directly. So, how to make border image if PHP doesn’t have it? We must set manually using imageline function that already have in PHP since version 4 built in GD library. Before we go, we need to describe what is image border. That is a line in all side of image, top, right, bottom, and left.

Imageline function just allowed us to draw a single line between two given points. The parameters are :

image
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().

x1
x-coordinate for first point

y1
y-coordinate for first point

x2
x-coordinate for second point

y2
y-coordinate for second point

color
The line color. A color identifier created with imagecolorallocate()

Read more…

Write Friendster Comment More Than 1000 Chars with Text2Image!

October 25th, 2008 Admin 3 comments

Maybe sometimes you want to write a comment to your friends in Friendster more than 1000 characters but they dont allowed us to do it ? Their basic form using javascript to count amount of character inside textarea, so maybe you will think to disable this javascript via browser setting. Yes, you can do that but now you can’t send form or submit comment! Why ? Because they using (again!) javascript to send this form (onClick function)! Weird right?

So how we can pass this through? Have you ever wonder to send your comment in graphic mode than text mode? Yes, you right! We will send comment more than 1000 characters using Text2image Generator :) It’s pretty cool online aplication. Not like the others! It’s have a lot of benefits :D

Read more…

Categories: Friendster, SmileyLover News Tags: