Go Back   Morocco.com Discussion Forum > Open Board/Forum Libre > Computer / Internet


Build Gif Buttons Dynamically Using PHP.

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 28th December 2005, 03:20
Trojan's Avatar
Trojan Trojan is offline
Moderator
 
Join Date: Jan 2005
Location: London - United Kingdom
Posts: 233
Send a message via ICQ to Trojan Send a message via AIM to Trojan Send a message via MSN to Trojan Send a message via Yahoo to Trojan Send a message via Skype™ to Trojan
Build Gif Buttons Dynamically Using PHP.

I recently decided to do something with the free space that came with my internet connection, so I built a site, the server it was hosted on ran linux, Apache, perl, PHP and mySQL, pretty much the standard in hosting nowadays, in order to save time and make sure the site is actually dynamic and straight forward to use, I decided to go for a ready made Open Source CMS system, that is prerrty much a standard in portals now adays, I also had to ensure it was modular and easily modifiable, I went for mkPortal as the CMS Front and phpBB, the site was up in under 30 mins, the hard part was moving content that I had lying around all over the internet, I added tags to embed an entire external webpage inside a post, I added tags to embed Flash, Video (all formats) and sound, I added Tags to allow for better formatting of posts, and I changed the Posting editor to add features and make it look like MS office XP, I also added a virtually unlimited space file server, Radio Streams and various other hacks, the latest one is the ability to create Ghraphics on the fly serverside using PHP/GD extention,

Here's an example:
Notice The s Parameter in the URL below, it denotes s for size of the font.
The text Parameter Denotes The Text inside the Ghraphic you want.
Quote:
button2.php?s=14&text=Click+Me
button2.php?s=12&text=Click+Me
button2.php?s=8&text=Click+Me
http://www.cybertrax.f2s.com/mkporta...&text=Click+Me
http://www.cybertrax.f2s.com/mkporta...&text=Click+Me
http://www.cybertrax.f2s.com/mkporta...&text=Click+Me

This one is uses a Diffrent Font and is desinged for banners and such, hell I can use it almost anywhere.
Quote:
button.php?s=36&text=Hello+Everyone
button.php?s=36&text=Trojan+In+Tha+House
http://www.cybertrax.f2s.com/mkporta...Hello+Everyone
http://www.cybertrax.f2s.com/mkporta...n+In+Tha+House

http://www.cybertrax.f2s.com/mkporta...text=Peace+Out
__________________
Private Message
Email

mIRC Chat
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:22.


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC4 © 2006, Crawlability, Inc.