Archive

Archive for the ‘PHP’ Category

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…

Free MP3 Codes – Friendster MP3 – Free Flash MP3 Player

September 26th, 2008 Admin 9 comments

Hi all,

SmileyLover.Com now try to expanded the network into streaming music area. So let me introduce our new service, Free MP3 Codes – Friendster MP3 – Free Flash MP3 Player that you can access at MP3.SmileyLover.Com. The truth behind the system is, we don’t hosting any files to be streaming at our server but it’s fetching from Youtube :) How is it works?

As we know, Youtube has a lot of (billion :D ) of music videos that available to embed in everywhere. Based on Youtube API, so we try to make some application under PHP to fetch data realtime from Youtube :) Great! Because this application just want to cover audio from videos so we limit to title song become title mp3, duration, and play times.

Read more…