...

View Full Version : changing file name with php



Zangeel
08-05-2008, 01:12 AM
is there anyway, i can change a file name, using an html input box and php, from like one file name to another. im trying to make it like

Old File Name: {inputbox} New File Name: {inputbox} {submit}

so i can change it from one file name to another

Inigoesdr
08-05-2008, 01:37 AM
Yes. The function you'll want to use on the backend is rename() (http://php.net/rename). The rest is simple form stuff.

Zangeel
08-05-2008, 01:53 AM
thats great! thanks a lot



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum