Käynnissä

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, 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, pdf php array, php simple iframe example, rename pdf name, software php script, php simple search example, pdf rename, rename pdf file, script read csv php, php script csv files, update script php simple, script rename

About the Employer:
( 107 reviews ) East Brunswick, United States

Projektin tunnus: #4267131

Myönnetty käyttäjälle:

inzaghi2006

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)
5.6

6 freelanceria on tarjonnut keskimäärin 30 $ tähän työhön

pankajknj

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

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

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

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

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

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

like to start ! .

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

Hello I can do this. Please check your PMB.

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