June 30th, 2007
Last week when I noticed the MYRUET members could not upload proper sized image to their profile page, I prepared a simple image thumbnailer. I donno if it helped them a lot but I noticed few members used it. Here is the demo:
http://www.rupom.com/myruet/
It is very simple one to prepare. It manipulates the would-be scale size using this formula:
——————————————————–
function imageScale($image, $newWidth, $newHeight)
{
if(!$size = @getimagesize($image))
{
die("Unable to get info on image $image");
}
$ratio = ($size[0] / $size[1]);
if($newWidth == -1)
{
$ret[1] = $newHeight;
$ret[0] = round(($newHeight * $ratio));
}
else if($newHeight == -1)
{
$ret[0] = $newWidth;
$ret[1] = round(($newWidth / $ratio));
}
else
{
die("Scale Error");
}
return $ret;
}
—————————————————
Please check the thumbnailer and let me know if some changes can make this more strong.
Best regards.
Rupom
No Comments » |
Sharing Experiences, phpResource, PHP, MYRUET |
Permalink
Posted by MA Razzaque Rupom
June 24th, 2007
Today we (Lemon, Arif & Me) released a beta version of MYRUET (http://www.myruet.com). MYRUET is the community website aimed for all ex and current students of Rajshahi University of Engineering & Technology (RUET), Bangladesh. We released this version as a testing version. Upon members’ feedbacks on testing this website, we will change/modify the interface, functionalities & fix bugs. We would like to receive suggestions from the members who joined and tested.

We were targetting to launch this community website from many months. But everyone was busy with works. Finally we seated together, managed time and after few days’ hard work we got an initial version to release.
MYRUET is available in four domains:
- www.myruet.com
- www.myruet.net
- www.myruet.org
- www.myruet.info
[All domains contain same contents.]
We started thinking about this website one year back and booked the domains later. But it took almost one year to prepare a version. Lemon and Arif did a lot on this website. I enjoyed working with them.
If you are an ex OR current students of RUET, please join MYRUET and start testing to help us improve the usability & quality of this site.
Please feel free to send me your suggestions on the current version.
Best regards.
Rupom
1 Comment |
General, Sharing Experiences, RUET, My Campus, MYRUET |
Permalink
Posted by MA Razzaque Rupom
June 15th, 2007
Audio/Video streaming is very popular today. Recently I have worked on such streaming for one of my projects. My server OS is Fedora Core 6. I found a great help to install FFMPEG (with PHP) that I want to share:
http://vexxhost.com/blog/category/ffmpeg/
I followed it line by line and got FFMPEG done. Obviously you will face some problems (depending on your OS and current status of the server). I had to do a few configuration stuffs that my server required during the installation.
I hope you will find the above link as a great help when needed.
Regards.
$Rupom
No Comments » |
General, Sharing Experiences, phpResource, PHP |
Permalink
Posted by MA Razzaque Rupom
June 14th, 2007
Please check the updated version of my class “Gmail Address Book Grabber”:
http://www.phpclasses.org/browse/package/3170.html
This update is because Gmail changed few display & URL styles in the recent days. I have modified the data parser and a request URL in this change. It’s working now. See demo here:
http://rupom.osclicks.com/demos/grab_gmail/
Please feel free to share your experience with my class.
Enjoy PHPing!
$Rupom
No Comments » |
Sharing Experiences, phpResource, PHP |
Permalink
Posted by MA Razzaque Rupom