Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: update resume
07-16-2007, 02:01 PM #1
- Join Date
- Jul 2007
- Thanked 0 Times in 0 Posts
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 #2
- Join Date
- Oct 2006
- Denver, Colorado USA
- Thanked 320 Times in 312 Posts
Code outline -
Which part of this do you need help with?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;
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.
If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.