How to convert and display string as image

Some times, we need to protect few words or whole string by converting and displaying them as image. for example, in order to avoid scanning your web contents and extracting email addresses (for marketing or any other use) by other people / programmers, you need to protect the email addresses. the easiest way is to convert it into image format. Continue reading

How to resize an image

In this post, we will discuss about how to resize an image using PHP. The code can be used to prepare avatar of a website users photo for their accounts logo. The suitable place of the code is immediate after the image is uploaded. so, I suggest you to have a look at my one of previous post “how to upload an image” if you are not feeling comfort with uploading an image. Continue reading

How to upload multiple files

In my one of previous post / discussion, i have described the way of uploading a single file. In this post i will describe the way of uploading multiple files.

The trick is, the file name is treated as an array and I will handle each of array element as a single element.

Before proceeding, I would suggest you reading of related article of how to upload a file and it will be easy for you to understand the trick. Continue reading