PHP Freelancer

 

PHP Programmer India

PHP Freelancer PHP Freelancer India PHP Programmer India PHP Freelancer Indian Freelancer Freelance Programmer Freelance Developer Freelance Web Developer Freelance Programmer India Hire PHP Developer India Wordpress Developer India CakePHP Developer India

Helpful Tips and Tricks

Find last visible div using jQuery

You may be stuck when you need to find the last visible element using jQuery/javascript. For finding the last visible element,look at below jQuery code.  You need to use Visible selector with last selector of jQuery.

$html->link with html or image in CakePHP 1.2/1.3

Today i was working with $html->link in CakePHP 1.3. I need to show image and make a link on that image. If i use the $html->link and place the $html->img for link label than it display img html tag text and not showing the image. You can do it by defining escape to false. But syntax for defining 'escape'=>flase in CakePHP 1.3 is different.

Authorize/Delay/Hold payment in PayPal

Hello Friends, Do you know the paymentaction feature of PayPal ? It is used to make authorization of payment. This means once PayPal account owner will Capture the payment than only the payment will be deposited in his/her PayPal account. I was in search of this feature as my client have a specific requirement for [...]

jQuery editable – Edit in place/Inline editing

Are you working with jQuery and want to update record in database with inline editing ? Yesterday i worked with jQuery-Ajax and update records in database without submission of form. You might be aware with jQuery-Ajax and update records in database but if you are looking for edit in place than here i am showing a way to edit a record in place.

Implementing Google Maps using API on your website

Are you looking to implement Google Map in your website ?? Do you have a Real estate property website ? If yes, the you must implement(integrate) Google map using API key into your website. Recently i have implemented the Google map into one of my client's website and it is very easy to implement.  Here i am showing you the step by step way to integrate the Google map into your website.

FCKEditor solution – How to store full URL for images (Show absolute path)

Today i came across a problem with FCKEditor. When i upload an image from fckeditor Browser Server option, it uploades correctly and insert image in content as well. But if i will send this content in email (for newsletter) than image will not be there as fckeditor inserts relative path in source of image. There should be a complete URL for image if you are sending this content into email. I was trying to find the way that how to insert the full url path when image uploads from FCKEditor.

Maximum Charactors/Words limit(counter) for textarea using Javascript/jQuery

Are you looking for limiting charactors/words entered in textarea? Today i need to implement the limit for description field where customer can only enter upto 255 charactor. If customer entered 255 charactors than i have to restrict customer from entering more charactors in textarea field. I came across below javascript/jQuery function using which i can easily restrict customer to enter limited charactors/words.

Sending email with multiple attachment using php’s mail() function

All we know how to send email in php. You might not be aware with sending email with attachment in php. If so than refer my previous article which explains how to send email with attachment(single). Today i have a special requirement where i need to send multiple attachments (more than one) in mail. If you are looking for send function for sending email with multiple attachment in php than here i am sharing the function using which you can send an email with mulitple attachment using php's mail function.

Redirect one domain to another using .htaccess

Are you looking for redirecting your website from one domain to another ? I was working for client who has a domain in .com and now they want to move full website into .ie domain. The problem is that all links has been crawled by major search engine. So if we remove all files from .com domain than it shows 404 not found (broken links) for .com domain links. Also we have to remove files to avoid duplicate content issues.