You are at the archive for the PHP category


PDF output generating library using PHP

July 12th

If you are looking for creating PDF output of your HTML pages, you can do it using PHP’s PDFlib module. However, there are some libraries for faster development of your script. Some even are not dependent on PDFlib. Please see below for quick overview.
DOMPDF
dompdf is an HTML to PDF converter. At its heart, dompdf is [...]

cPanel database administering class

June 30th

It is long time since I have worked with cPanel. My last work was cPanel Email Management  script that enables us to create/delete email accounts from outside of cPanel.
Today I have worked with another cool thing. I have created similar class for database. Using this class, anyone can easily create/delete database and database users.
Current Features:

Create [...]

Seminar on ‘Current Development Trend’

May 18th

On May 16th, I have joined the seminar titled ‘Current Development Trend’ organized by phpxperts, a globally recognized PHP group on yahoo maintained from Bangladesh.
There were total 8 presentations by experts of those fields. The presentation titles were:

How to Become a PHP Nijna?Emran Hassan
How to make simple Facebook application?Junal Rahman
Advantages of using Javascript Frameworks [...]

417 status/response code and PHP cURL

May 15th

Recently I have released an extension named put_twitter for PunBB 1.3.x. It sends forum’s activity to designated twitter account. It uses twitter class for posting to twitter which utilizes PHP’s cURL library.
The extension works fine for most of the people. But a few were complaining that it was not working for them! I was totally [...]

OpenLD is going to live again

April 29th

Finally I have decided to maintain OpenLD script. You already know OpenLD is a very lightweight link directory script. It is highly extensible without hard coding. You can make extensions to utilize its hooking system. There are many hooks in every steps of all files where you may push some piece of code by your [...]

URL Shortening using PHP

April 27th

Yesterday while developing PunBB Twitter extension, Invarbrass of Projanmo Forum helped me by providing some URL shortening snippets for several websites. Those were very simple to use. I am sharing so that it comes to others’ usages.
to.ly
function CompressURL($url) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, “http://to.ly/api.php?longurl=”.urlencode($url));
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
curl_setopt($ch, CURLOPT_HEADER, 0);
$shorturl = curl_exec ($ch);
curl_close ($ch);
return $shorturl;
}
echo CompressURL(“http://projanmo.com”);

Bookmark:
[...]

PunBB Twitter – Twitter Updater for PunBB Forum

April 26th

This morning I got this idea to make an extension for PunBB forum engine that will update twitter status upon new posts and other activities. Few hours back I have completed it.  It may need many many improvements. But yep, its ready for testing.
Current Version: 0.8
Current features:

Configurable account
Update on creation of new topic
Update on reply [...]

PunBB 1.3x Extension…. Convert numbers to Bangla (Bengali) on the fly!

April 3rd

Just now I have completed the first version of bangla_numbers extension for PunBB 1.3.x. When enabled, this function will converts numbers used in PunBB to Bangla. It will specially converts numbers of posts, topics, replies, members etc.
Installation:
Upload the unzipped files to extensions directory of PunBB and install the extension from Admin panel’s Extension tab. You’re [...]

PunBB 1.3 Extension – Post Editing Period – Control how long a post can be edited

March 26th

Today I have developed a simple PunBB Extension for Projanmo Forum that allows administrators to control until how long a post can be edited. Such control is necessary as often members removes the post whimsically making replies irrelevant.
If you install this plugin, it will stop from such happening. From admin panel’s Settings -> Features section [...]

WordPress Adult Post Marker Demo

March 17th

If you see this content after entering your age (18 years), this plugin is working fine. Please visit this for details.
Bookmark:

yahooBuzzArticleHeadline = “WordPress Adult Post Marker Demo”;
yahooBuzzArticleId = “http://hungrycoder.xenexbd.com/scripts/wordpress-adult-post-marker.html”;

[...]

WordPress Plugin :: Adult Post Marker

March 17th

Hey! Here is my another wordpress plugin. Using this plugin, you can mention a post as inappropriate for non-adult and ask viewer his/her before showing the content to him. If age given age is below your Minimum Age requirement (configurable from settings page), then the viewer can’t see the content.
Moreover, a cookie is set so [...]

PunBB and OpenInviter

March 17th

Recently I have worked with OpenInviter to work with PunBB. OpenInviter already has a plugin (mod) that enables it to work with PunBB. But Idid some more works that will enable PunBB forum admins to tracks how many users have been invited, which users has invited, when invited, when the invited friends visited the site [...]

Size

Colors