PHP Programming
PHP functions for Encrypt Decrypt a string
Here i am sharing php functions for encrypt decrypt a string. I came across two different ways of encrypt decrypt php functions for string. In first one, there are two functions for encrypt and decrypt string. One is for encrypt the string and other is for decrypt the encrypted string. In second one, there is only one encrypt decrypt function which works for both encryption and decryption of string in php.
How to include multiple javascript files in Zend Framework
If you are working with javascript files and using Zend Framework than you must be aware with how to include javascript files in view files ? Look at below syntax to include more than one javascript files. If you write individual statement for each file than it will include first file 2 times and so on.
POP3/IMAP Email with attachment-Read & Forwarding with PHP
Do you know how we can read, forward or transfer the POP3/IMAP email to another email address ? I came across this situation. I need to read the email from one account and need to forward that mail to another email account.
Browse Server & Image Upload Problem in CKEditor Solved
Some days ago, i moved from FCKEditor to CKEditor. CKEditor looks preety good but the problem is with upload image option. In demo application it shows me Browse Server & Upload button for uploading image or media but when i download it and integrate it into my web page, Browser Server and Upload option disappear.
CakePHP PaginatorHelper-Sorting problem solved
CakePHP provide its own Pagination helper using which you can easily add paging and sorting functionality in your CakePHP application. Using this PaginatorHelper class for one model, all instruction is given in below link. If you works with more than one model. means using belongsTo or hasMany relation and getting records from more than one table than paging is as simple as one table. But for sorting…
Problem with Insert/Edit image or link in Browse server – FCKEditor
Are you facing problem when Browser Server of Insert/Edit image or Insert/Edit link in FCKEditor ? Yesterday when i was working with FCKEditor and click on Insert/Edit image than click on Upload tab and browser a file from local machine. When i click on "Send it to Server", it shows a message like "Your file has been successfully uploaded". Now if i want to use the same image again than i should go to Browse Server and select the image which was previously uploaded. But it is not showing any uploaded image from "Upload" tab (Which can be said as Quick Upload). This is the problem with Image Path. Image was uploaded in "userfiles" folder instead of "userfile/image" folder. As in Browse Server it will not show any files from userfiles folder so you have to change the default image upload path.
Solved – Error creating folder “redirect:/index.php” (Can’t create redirect: directory)
I was working with FCKEditor and i got the error like "Error creating folder "redirect:/index.php" (Can't create redirect: directory)". First thing i have checked the permissions for userfiles folder and image folder. It was 777 so that was not the problem. Finally i found the problem and came to know that this error came due to .htaccess i was using for frontend. I solved this error and here i will show you what you need to do in order to solve this error.
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.

I am