script

batch script to add remove prefix zero pad bulk file rename

This post has two batch scripts: 1. Batch script to rename files with zero padded number series-prefix 2. Batch script to remove prefix of perticular length 1. Batch script to rename files with zero padded number series-prefix This script will accept file-type to be searched and lenght of zero-padded prefix to be attached. Usage: RenZeroPad.bat Consider you have to rename / arrange a lot of mp3 files in a perticular sequence: File names before execution: fileX.mp3 fileY.mp3 fileZ.mp3 Command on dos prompt: RenZeroPad.bat mp3 4 File names with attached prefix: 0001 fileX.mp3 0002 fileY.mp3 0003 fileZ.mp3 [ad#ad-2-300×250] The Batch Script...

Upload Image to MySQL using PHP

Upload Image to MySQL using PHP As a new-bie to php/mysql, I tried different stuffs. So here I’m with my php code for Image Upload to MySQL. Its a quite simple code with two php files one to display and one to upload. For Image Upload code, I’ve added code download link upload-image-mysql-demo.zip at the end of the page. As a new-bie to php/mysql, I tried different stuffs. So here I’m with my php code for Image Upload to MySQL. Its a quite simple code with two php files one to display and one to upload. For Image Upload code,...