I am building a website that uses php5 and mysql database. I want to upload images alongside other information. To get other information into the table of the database, this I can do very well, but to upload and display the images alongside other information(which may be done online by the users), I am finding very difficult.
Uploading images to a table ? 99% of the people who upload an image wouldn't upload it to the table. Instead, they upload the image to the filesystem and insert the path of the image to the table. Fetching the blob data from the database just adds on to the server load. But if you want to insert an image to a table, you can check this site.
i am using php4 the image upload is working well. But upgrade the version php5 the file upload is doesn't work. I entered the global register is ON also the image upload is not work. the same file is working under php4 is fine. why this problem occurs? Can any one tell me about this?