Quick Favicon

Some days back I got a new website from my friend Lee to generate favicon for website. Here is the url : http://www.convertico.com/ Thanks Sajith Share

1 Comments , , , ,

jQtouch – amazing jQuery for iPhone

I think, i am becoming jQuery fan day by day. If you have an iPhone or iPod Touch or iPad, try this url in your browser: http://sajithmr.me/jqtouch/demos/main/ You will wonder for some minutes. Yes, it is not a application, it is a website and every action is created by our dearest jQuery using jQTouch library [...]

0 Comments , , , , , , , ,

Flexigrid

In most of the project, we need to write a lot of queries to create admin backend. Especially for report generation.  In old days I used phpTables. But recently I started using Flexigrid, a jQuery plugin for displaying tables. It is very simple to write code and all work in Ajax Here is the url: [...]

1 Comments

Uploadify – A php-flash library to make upload simple

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' [...]

1 Comments

Mx Lookup Tool

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

0 Comments , , , , ,

Lorem Ipsum

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 [...]

0 Comments , , ,

WMODE – Flash overlapping problem

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 [...]

2 Comments

JBar – Jquery Bar

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 [...]

0 Comments , , , , , , , , , , , , ,

Fancybox runtime height change

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 [...]

11 Comments , , , , ,

Bootstrapping the startup

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

1 Comments , , , , , , , , , , , ,

Remove emails, numbers or url from text inputs

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})"; [...]

0 Comments , , , , , , , ,

Just a second with Iframe

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 [...]

1 Comments , , ,

Codeigniter – Post resubmit problem on refresh

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 [...]

3 Comments

Webservice call from PHP – wsdl2php makes it simple

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 [...]

4 Comments

Firephp

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 [...]

2 Comments , , , , , , , ,