Results 1 to 5 of 5

Thread: How can we upload files in PHP?

  1. #1
    Join Date
    May 2013

    How can we upload files in PHP?

    Hi friends,
    How can we upload files in PHP? i want that user can be post own resume file through form. please tell me php script for that.
    thanks for any reply.

  2. #2
    Join Date
    Dec 2012
    Using a form with a file input which is then captured by PHP which moves the file into a folder

    HTML Code:
    <form method="post" enctype="multipart/form-data">
        <input type="file" name="resume">
        <input type="submit"
        if(isset($_FILES['resume'])) {
            $file = $_FILES['resume']['tmp_name'];
            $path = "/files/".$_FILES['resume']['name'];

  3. #3
    Join Date
    Aug 2004
    Check out the "sticky" thread near the top of this forum on uploading images. (Just ignore any parts that would only apply to image manipulation.)
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  4. #4
    Join Date
    May 2003
    The important thing to remember is not to overcomplicate it...uploading a file in PHP is very simple and can be done in a few lines of code...it is actually more complicated adding security to it, so my suggestion would be to get the upload working (maiking sure webserver has write permission to the folder, etc), then begin to lock it down and secure the input.
    We do precision guesswork

  5. #5
    Join Date
    Feb 2012
    Noida, India
    I also agree with all above answers and we suggest for my developers. The knowledge of PHP basis uploading is more complicated thing for developers so if you are new person in php http://www.csschopper.com/hire-dedic...essional.shtml then you can also hire any experiance developers from any company. I know that experienced company can solve your problem. I hope you also take CSS Chopper.com company for hiring of any kind of PHP developers.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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