Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: update resume

  1. #1
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    update resume

    hi,
    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

  • #2
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,049
    Thanks
    2
    Thanked 317 Times in 309 Posts
    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.
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •