Simple PHP script to rename files in directory

I need a PHP script that I can run on a CENTO/RH5 server that will do the following:

1) Read in a csv file of two columns into an array: account numbers and their corresponding ids.

2) Using this array, the script needs to go through a directory of PDF files where each filename has the id as part of the name. It needs then to rename each file to its corresponding account number and save the new file to another directory.

For example, if a file is named "[url removed, login to view]" and the account number for "ABCD" equals "666666", then the file should be renamed "[url removed, login to view]" and saved in another directory. The original file must remain untouched.

Taidot: PHP, tietojärjestelmäarkkitehtuuri

Näytä lisää: php script rename files, rename, php file array, read file pdf rename file, save file directory, csv array php, php array file, php script name, pdf csv script, simple php pdf, name pdf files, php array pdf, save array file, php pdf array, array php pdf, server status script php simple, pdf php array, rename pdf files, php simple iframe example, rename pdf name, software php script, php simple search example, PDF rename, rename pdf file, script read csv php

Tietoa työnantajasta:
( 107 arvostelua ) East Brunswick, United States

Projektin tunnus: #4267131

Myönnetty käyttäjälle:


Very simple. WIll start it right now and complet it in 1-2 hours. Please contact me. Thanks

$30 USD 0 päivässä
(57 Arvostelua)

6 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


I can make the script to copy and rename files with corresponding account number.

$30 USD 1 päivässä
(28 arvostelua)

Easy task!Take this in next few hours. 100% sure to complete it soon.

$30 USD 0 päivässä
(3 arvostelua)

I would be happy to make such a script for you.

$30 USD 1 päivässä
(0 arvostelua)

like to start ! .

$30 USD 1 päivässä
(0 arvostelua)

Hello I can do this. Please check your PMB.

$30 USD 2 päivässä
(0 arvostelua)