With Youtube gaining popularity, more and more phpBB boards want to allow their members to post YouTube videos in their posts. I am sure most of you reading this watch Youtube videos and share them. Here we guide you on how to add YouTube videos to your phpBB forums.While phpBB has some of the most popular BBCodes included by default, you can also add your own . This article will explain how to add [...]
Archive for the ‘PHP’ Category
Most of the websites use this alternating color to tables which will make the user readability of table content. We can use any of the colors you want.
I am writing php code which will print the data present in the mysql table in a alternating color format.
<?php
//Database Connection inputs
$host=”localhost”; // Host name
$username=””; // Mysql username
$password=””; // Mysql password
$database=”mydb”; // Database name
$table=”mytable”; // Table name
// Connect to server and select databse
mysql_connect(“$host”, “$username”, “$password”)or die(“cannot connect”);
mysql_select_db(“$mydb”)or die(“cannot select DB”);
$sql=”SELECT * FROM $mytable”;
$result=mysql_query($sql);
// [...]
We have so many tools available to track the blogs or wesites. Although there are some free ones, most of them come with a price tag. Why not do it yourself? With PHP, you can easily create a log file within minutes. This article shows you the complete tutorial on how to make the tracker
Getting the information
The most important part is getting the information from your visitor. Thankfully, this is extremely easy to do in PHP (or any other scripting [...]
Here are the 10 php optimization tips which I have identified with my past programming experiene in php. This optimization tips helps you in increasing the performance of your php application.
Declare static
If you want to make a method as static, do it and declare it as static. It improoves the speed by a factor of 3 or 4. I have tested this with my php applicaiton and i have seen this speed factor
Use full path
If you are including files in [...]
This quick tutorial will show you how to develop your own functional IM bot that works with Google Talk, Yahoo! Messenger, Windows Live and all other popular instant messaging clients. To get started, all you need to know are some very basic programming skills (any language would do) and web space to host your “bot”. I have created this using PHP. Using this I can creat a dummy bot called “mynewbot” that listens to your IM messages. To see this [...]
Well, for this task there are many ways of realizing it, many scripts and libraries that they can do, and this is another way in which this can be accomplished in a simple manner and without disheveled, for this I am taking 2 classes of PEAR are HTTP_Upload and the other is Image_Transform basically this is what we need to go and make our thumbnail in a simple manner as discussed below.
For this also I forgot we have to be [...]

