What filepath are post files stored in while posts are being made? #755
Unanswered
snarles888
asked this question in
Q&A
Replies: 1 comment
-
|
You can see the path in tmp_name. [
{
"name": "1674785131470.png",
"full_path": "1674785131470.png",
"type": "image\\/png",
"tmp_name": "\\/tmp\\/phpbD1hIK",
"error": 0,
"size": 372533,
"filename": "1674785131470.png",
"extension": "png",
"file_id": "b288d1401fef944050790605d24e17a62e36f2e668840276eaa6e58f788dd95e",
"file_unix": "1728398051234-1",
"file_path": "media\\/b288d1401fef944050790605d24e17a62e36f2e668840276eaa6e58f788dd95e.png",
"thumb_path": "media\\/b288d1401fef944050790605d24e17a62e36f2e668840276eaa6e58f788dd95e_t.webp",
"is_an_image": true,
"hash": "1deb2728bcccba77be88e02d770aab14",
"width": 662,
"height": 614,
"thumbwidth": 216,
"thumbheight": 200,
"file": "b288d1401fef944050790605d24e17a62e36f2e668840276eaa6e58f788dd95e.png",
"thumb": "b288d1401fef944050790605d24e17a62e36f2e668840276eaa6e58f788dd95e_t.webp"
}
] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to make a function that interrogates uploaded images and discards them if needed. As it's currently set up, the interrogator can only take in a filepath, and I don't see an immediate answer as to what that is in post.php.
Beta Was this translation helpful? Give feedback.
All reactions