Rayhan’s blog (raynux.com)

Rayhan’s Personal Web Blog Site

Entries Comments


Send Mail From Unix/Linux Bash Shell Script

11 April, 2011 (12:30) | Linux, Reference | 1 comment

Tags: , , , , , , , ,


Bash shell script is very popular and widely used in Unix world for command automation and task scheduling using cron. Sometime it is very important to know the status of these scripts to make sure that they are working exactly the way you want and if any script fails you can take prompt actions. Use [...]

Store and Display image from MySQL database

20 November, 2008 (16:09) | MySQL, PHP, programming, Reference | 81 comments

Tags: , , , ,


A basic approach to upload and save image to a MySQL database and then display the image from the database. First you need to create a table in MySQL Database to store the image data. Log into you database and run the following sql command: CREATE TABLE  `images` ( `id` int(11) NOT NULL auto_increment, `name` [...]