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 7535859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T06:24:52+00:00 2026-05-30T06:24:52+00:00

I have some php scripts that handle uploaded files via forms and stores them

  • 0

I have some php scripts that handle uploaded files via forms and stores them using move_uploaded_files(). Because of errors in my code, some uploaded files were not handled properly and were not moved, i.e. they got lost.

I thought that within a reasonable grace period (i.e. few days) I may be able to find them in the /tmp/ folder which is where they are temporarily stored when uploaded. But the files don’t seem to be there any more.

I guess there’s no way to recover them is it? But I’ve noticed some strange “socket” files in that folder (such as sso_main.phpapi.socket-0 and the like, all 0-byte) so I’m wondering if there is any hope the files may have actually been stored somewhere else…

Or are they deleted immediately after script execution?

  • 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-30T06:24:54+00:00Added an answer on May 30, 2026 at 6:24 am

    Manual:

    The file will be deleted from the temporary directory at the end of the request if it has not been moved away or renamed.

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

Sidebar

Related Questions

I have some php files in a server which generate xml code in them.
I have a php script that uses some css/javascript tabs, they work on my
I have some PHP code that generates dynamic tables of data on the fly.
I have some PHP code that is designed to make a spreadsheet with formulas
I have some PHP code that generates a calendar and then outputs html to
I have some PHP code which stores whatever is typed in a textbox in
So I have some PHP code that looks like: $message = 'Here is the
All the scripts I have found via Google search rely on some sort of
I have some JavaScript, which is generated by PHP code, using a template. The
I am writing some functionality using jQuery that i normally handle with a page

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.