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
Today, we will discuss about how to download a filled form as a pdf file. for this purpose, I use dompdf library which is included in downloadable source code of this article.
here I will create a simple registration form with few input fields. Continue reading
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
Here are few steps to upload any file using core PHP
step1 : make an input of file type within form body
<form method="POST" action="" id="myform" name="myform" >
<input type="file" id="myfile" name="myfile" />