Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7433651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:42:19+00:00 2026-05-29T09:42:19+00:00

In my site, i have created functionality to upload MS-Word Document. and i’m moving

  • 0

In my site, i have created functionality to upload MS-Word Document.

and i’m moving that file using following PHP function

move_uploaded_file($_FILES['upload_file']['tmp_name'],$path);

I just want to know What happens if file(word document) is open while uploading it?

does it create any problem or generate any error?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:42:20+00:00Added an answer on May 29, 2026 at 9:42 am

    Depends on how Word behaves. If it is in the middle of a write, then you’ll either get a corrupted file or the OS will make the browser wait before uploading it. But this is a rare occurrence.

    If the document is open, but Word is not currently writing you will either get an old version of the file, or a semi-saved corrupted state.

    Best not risk it, and tell the user to close the file first.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to implement file upload functionality on my site. I have created
I have created a basic site using ASP.NET routing according to Mike Ormond's example
How to make maintenance document for a website? I've created a site using XHTML
I have a moderately simple assignment, to create a PHP/PDO site with login functionality
In my site, I have implemented the following functionality: If the user clicks on
I have created login functionality on my site, and when I click logout the
I have a CMS that I am adding Site Search functionality. The application uses
I have created a site collection inside a web application with user A as
I have created a site where people can create a profile. But I am
I have created a page on my site where users can post directly to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.