by Mr Me
on April 18, 2010
in php
Here is a simple jQuery plugin for creating flash based file uploader. http://www.uploadify.com/ Look some demo here. Include the js file and run the following script to make a file input to flash uploader <script type=”text/javascript”>// <![CDATA[ $(document).ready(function() { $('#fileInput').uploadify({ 'uploader' : 'uploadify.swf', 'script' : 'uploadify.php', 'cancelImg' : 'cancel.png', 'auto' : true, 'folder' : '/uploads' [...]
by Mr Me
on December 31, 2009
in php
If you want to know where your website is blacklisted and why all the email you send from your website do not delivered to inbox, and reporting as Spam, use the following url: http://mxtoolbox.com/blacklists.aspx Happy new year Mr. Share
by Mr Me
on December 29, 2009
in php
This is a lazy post. Read the following first: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mattis placerat dolor at accumsan. Aenean quis magna eget dolor adipiscing porttitor. Sed vestibulum placerat neque, in lacinia mauris luctus in. Aliquam adipiscing commodo hendrerit. Proin a metus id diam malesuada egestas. Mauris nisi sem, ullamcorper nec [...]
by Mr Me
on December 28, 2009
in php
When we use mixed html and flash content, we usually face the problem of overlapping flash contents over html text. In the case of mere html we use z-index to format which content should be on top. But Z-index cannot do nothing here. So the recommended option is wmode parameter. Sometimes the wmode mode [...]
by Mr Me
on December 27, 2009
in Downloads, php, webworld
Flash messages or notification messages are very essential part of every update/edit or delete operations. We either use ajax update messages like “You account has been updated” or “Your photo has been successfully deleted” Here, a new plugin of jQuery can be used to display the flash messages like twitter. (see twitter’s settings page) I [...]
ajax, delete, display, edit, error, flash, information, jbar, jquery, message, notification, plugin, update, warning
by Mr Me
on November 20, 2009
in php
For those who use fancy box and iframe inside fancy box might face the issue of changing the height. Once fancybox is loaded with a particular height and width, it does not change when you change the content inside iframe dynamically. Auto height change is only possible for images. Use the below code to change [...]
by Mr Me
on November 16, 2009
in php
I uploaded my first presentation in slideshare. It is about , how the current world’s online technical tools can be used to bootstrap your startup. Most of the services in this presentation are based on UK based startup companies. Bootstrapping the stratups View more presentations from sythoos. Share
agile, bootstrap, company, fund, investment, money, profit, simple, start, startup, technical, technology, tools
by Mr Me
on November 14, 2009
in php
Below is a simple php code to sanitise an input message . The function has 3 parameters, depending on the parameter the input is parsed to filter. function sanitize_message( $message , $email = true, $numbers = true, $url = true ) { $message = strip_tags( $message ); if($email) { //strip email address $email_regexp = “[_A-Za-z0-9-]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.[A-Za-z]{2,3})”; [...]
by Mr Me
on November 12, 2009
in php
IF you are facing problem with layout issues inside iframe (which is normally not there in normal pages) just test these things. Iframe is considered as a separate html page. So it needs all the basic tags, from html, head, body. It does not get styles from parent, so you need to add manually in [...]
by Mr Me
on November 11, 2009
in php
A small tip for codeigniter programmers. If you use same controller for display view page and take action on POST, there is a problem may happen when you try to refresh the page after submit, the whole data get re-submit and creates problem. It can be solved using session. If there is any POST form [...]
by Mr Me
on November 10, 2009
in php
From PHP we usually do a lot of coding to create a webservice client. We use nusoap library for this purpose. But in the case of complex objects, it is very hard to create a soap client call. We need to create a class structure before invoke a wsdl call. As a solution, you can [...]
by Mr Me
on August 18, 2009
in php
We like firebug , We like PHP , if so, We also begin to like FirePHP !!! Using firephp , you can debug your php code. Firephp is a firefox plugin which works on firebug console. In our php life, we know we can use echo function to print or debug the value of a [...]
by Mr Me
on June 4, 2009
in php, php source code
In a php project, if we get the requirement , we usually start design and database. But the data entry procedure is very hard. In this case PhpMyadmin is a good comfort. Here is another tool from phpguru.org , MySQL Table Editor. Using this library you can make your database table editable from your php [...]
by Mr Me
on June 3, 2009
in php, php source code
Basically using xajax “You can directly call php functions from your javascript code” Xajax will do the rest. For example, if you are going to write a javascript function Capitalize which captilaze your textbox content when you press a button. Here is the pure html/javascript code for that: ============================================= <script> function Capitalize() { [...]
by Mr Me
on June 2, 2009
in php, webworld
V/S I have developed more than 7 web projects using Symfony framework. Mobshare.in, Amvizone.com, Campaignmanger.in , Movieonline.in etc are some of the websites. But for the past 5 months my developement is in Codeigniter. It is very very lighter than Symfony and has almost all the features of Symfony. Both are MVC [...]
by Mr Me
on March 22, 2009
in php
Last day i got a good website in which we can test the rendering of a particular website through different versions of interenet explorer. From a designer’s view, internet explorer is a life long head ache due its different alignment, floating problem, iframe problem, script execution problem and all. Here , http://ipinfo.info/netrenderer/index.php , You can [...]
by Mr Me
on November 19, 2008
in php
We know Stone Age, Iron Age , Bronze Age . My friend Binny started new Technical Age named Plugin Age. He announced this week as a plugin age. From Monday (17-11-2008) to Friday (21-11-2008) he projected to release each plugin a day. He already released his two wordpress plugins Eventr & Autofields WordPress plugin Lets [...]
by Mr Me
on November 6, 2008
in Downloads, php, php source code
If you are a social media website developer , sometimes you might search for grabbing contacts from a particular email account if the password is given. I also did the same. In most of the cases it did not work properly. But recently i got a contact grabber from phpclasses.org which works perfectly on Gmail, [...]
access, AOL, code, contact, download, email, fetch, get, gmail, grab, grabber, Hotmail, Indiatimes, Linkedin, lycos, MySpace, orkut, password, php, Rediff, yahoo
by Mr Me
on October 27, 2008
in php
When ever we click on a downloadable file , our browser pop up a download window popup and ask us where to save. That download option does not have any other options like , limit the speed, scheduled download, download by split parts etc like what download accelerator like flashget does. In some cases we [...]
by Mr Me
on September 19, 2008
in php, webworld
After a long searching, i got this IDE , Aptana which satisfies all my requirement. It is just like .net IDE with auto compiling and error displaying system, and come with built in server. You can download it from: http://aptana.com/studio/download Error display while coding time is its another feature. Auto filling is another feature. For [...]
by Mr Me
on August 18, 2008
in php
If you know this feature already , skip this article. But i have to ask a single question at the end of this section . For wordpress version less than 2.3 , Go to Options > writing, and for greater than 2.3, Go to settings > writing What you have to do is create an [...]
by Mr Me
on August 9, 2008
in Downloads, php, php source code
Online Photoshop in PHP Part (5) >> (image after watermarked with gmail logo) Those who haven’t seen the online photoshop tool created by me, just click here: http://www.sajithmr.com/photoshop Today we will implement the watermarking on images using php gd library. Intelligent watermarking means, apply a logo or a watermark image on another image by measuring [...]
by Mr Me
on July 12, 2008
in Downloads, php
After the success of my previous wordpress plugins , Announcement, Show My Page Rank, Sexy Rating, Add to this , Stumble Reviews, I created one more interesting plugin, called Currently Reading Posts Plugin. Whenever a visitor visits your website, he can see what are the posts currently reading by other visitors. It is like youtube’s [...]
by Mr Me
on July 12, 2008
in php
I was writing a php code to parse images from a particular url . At the begining I used http://www.google.com as a testing url. When I tested the php code from my local machine (http://localhost) it took time to get data from a remote url (google.com) . So I decided to check this code with [...]
by Mr Me
on June 19, 2008
in Downloads, php, webworld
If you wanna know , what is others review or opinion about your website, You can use this wordpress plugin. It will provide the blog readers and your regular visitor to rate your blog. You can put this plugin anywhere in your blog. The plugin name is sexyrate plugin. Here is the screen shot: There [...]
by Mr Me
on June 5, 2008
in Downloads, php, php source code
Online Photoshop in PHP (Series Part 4) >> Today we will discuss about cropping of images using php and gd library. Look at the simple example here: http://www.sajithmr.com/photoshop-tuts/crop/simplecrop.php $x1 = $_GET['x1']; $y1 = $_GET['y1']; $x2 = $_GET['x2']; $y2 = $_GET['y2']; $image_object = imagecreatefromjpeg(‘hari.jpg’); $image_cropped = Crop($image_object,$x1, $y1, $x2,$y2); $temp_path = rand(1,99999).”hari.jpg”; imagejpeg( $image_cropped,$temp_path); header(‘Location: simplecrop.php?img=’.$temp_path [...]
by Mr Me
on May 29, 2008
in php, php source code
If you want to get the FLV file of any youtube video url using php code, here is the solution. If you are a PHP Programmer and if you are working with any video website, and if you need to grab videos (FLV files) from youtube and to put it yourown site (not object [...]
by Mr Me
on May 26, 2008
in php, php source code
Resize a Photo >> Today we will implement hows to resize photo into a particular width and height (or keeping aspect ratio) See the live example from: http://www.sajithmr.com/photoshop-tuts/resize/resize.php You need to install php-gd library to do this. To functions, imagecreatetruecolor and imagecopyresampled will do the resizing. Those who have not seen the Online Photo Editing [...]
by Mr Me
on May 21, 2008
in php, php source code
Implementation of the Browse Photos Area >> Today we will implement the browse photos area of online photoshop Those who haven’t seen the online photo editing tool, click on the above icon (baloon) You can see the browse area implementation here: http://www.sajithmr.com/photoshop-tuts/browse.php What you need for this is 4 php functions: is_dir , opendir, readdir, [...]
by Mr Me
on May 20, 2008
in php, php source code
Introduction >> As i announced in my birthday post: celebrating-1st-year-of-sajithmr.com , i am starting my post series How to make Photoshop Express in PHP Before we starting the step by step procedure, have a look at : http://www.sajithmr.me/photoshop/index.php This is a basic version of online photo editing tool. You can either upload a photo to [...]
clear all, crop, download, gd, online, photoshop, resize, round, save, undo, watermark