.htaccess files (or “distributed configuration files”) provide a way to make configuration changes on a per-directory basis. In simple words, htaccess allow you to override the default server configuration using certain commands. htaccess file works in Apache Web Server on both Linux/Unix and Windows operating system. This post has some basic example and method to [...]
Continue reading...23. September 2010
We often use textarea to insert multiple lines of data into database. While writing content to textarea we use line breaks. At the time of display if we simply echo text area content then it does not preserve line breaks and stick all of the data together. There are two ways we can preserve line breaks [...]
Continue reading...20. September 2010
Hi Friends, Recently for one of my project work, I need to generate excel report for customer data using php and mysql. Here I am posting tutorial of generate excel report in easy steps. Step 1. Include phpexcel class file along with your config file and make its object with excel file name passed parameter in constructor. [...]
Continue reading...19. September 2010
This tutorial demonstrate how to upload files in blob type using mysql and php in simple steps. Blob type used for storing large amount of binary data therefore we can store file in blob type. Step 1. Create simple form having input type file and submit elements. <form method="post" enctype="multipart/form-data"> <input type="hidden" name="MAX_FILE_SIZE" value="2000000"> <input name="userfile" type="file" [...]
Continue reading...5. September 2010
Hello Friends, Few days back I received request from one of the user of blog to add two extra features to our existing multiple image upload script. 1 – How To add limit for upload images. 2 – How To add remove link for each image. I have added both features in existing image upload script. It is not [...]
Continue reading...
23. March 2011
1 Comment