Rayhan’s blog (raynux.com)

Rayhan’s Personal Web Blog Site

Entries Comments


Category: MySQL



Install Additional softwares by a single command on Ubuntu

21 November, 2008 (02:49) | Linux, MySQL, personal, PHP, Reference, Ubuntu | 9 comments

Tags: , , , ,


I have created a bash script file to install almost all necessary softwares to run and work on a Ubuntu box. I have tried this script in Ubuntu 8.04 Hardy Heron and Ubuntu 8.10 Intrepid Ibex. Softwares I have placed in this script covers PHP-MySQL development and desktop applications for graphics, multimedia, to Internet applications. [...]

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` [...]