View Full Version : update resume

07-16-2007, 02:01 PM
i am having resumes in a folder.i want to modify particular resume.i need php code to update the resume in a folder.please help me:)

07-16-2007, 03:10 PM
Code outline -

To prevent just anyone from changing files, authenticate visitor and only do the following if authenticated;

Read folders and files and display list of files as clickable "editfile" links;

When an "editfile" link is clicked, open corresponding file in read mode, read file contents, close file, output contents in a textarea on a form;

When form is submitted, open corresponding file (I recommend using a session variable to pass the "working" file to prevent someone from changing any file they want instead of the file you are currently editing) in write mode, write textarea contents to file, close file;
Which part of this do you need help with?

This is a programming help forum. If you have a specific coding question or error that you need help with, someone here will be able to help you. If you expect someone to write fully functional code that matches your specific situation, you should probably post your request in the "Paid work offers and requests" forum section.