No response when uploading relatively large files to server [closed] - php

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I have a page to upload images to my server(http://neiol.1ufh.com/) in the uploads folder (http://neiol.1ufh.com/uploads) however I noticed that I can only upload images of about 160kb in size if higher than that I get no response not even the response that comes when uploading files with size bigger than 2M, (2M is the max file post size on the server).

Not to answer your question, but you NEED to check on the security. I recommend setting the site down right now before fixing it. I just could upload and execute apac.php, which only contained this PHP:
<?php echo "This is a really bad security issue"; ?>
But I could be a malicious person and break your website. Check it out: http://neiol.1ufh.com/uploads/apac.php
NOTE: I put this in an answer since the comment is too small for the formatting and everything,

Related

Responsive Filemanager Upload JPG Error Keep Processing [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I've been using Responsive File Manager on Codeigniter framework. It works fine for these past years. But finally found some error when uploading some .jpg files. When i upload it, it keeps processing...
**Do you know why it's error and its solution ** ? Or where can i found the error log ? If i try the jpg files on photoshop and save for web, it can be uploaded.
dialog.php - replace "//blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js" with "//cdnjs.cloudflare.com/ajax/libs/blueimp-load-image/2.18.0/load-image.all.min.js" around line 364
Check out blog https://www.responsivefilemanager.com/support.php

Access to ftp image with wordpress widget [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I want to get files (images) in my folder on a ftp in my wordpress site.
How can i do that ?
My path to files on ftp : "/public_html/wp-content/uploads/image.png"
Thanks for the help
If you want WordPress to use the images, you'll have to upload them through the media uploadr. otherwise, you'll have images but no Database associations. I'd strongly advice against an FTP upload.

preg_match_all stop code execution on live server (large file) [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
i would like to ask if someone had the same problem or know any workaroundto fix it.
I have a large file (15MB) full of array values which i find and read them.
On xampp the code with preg_match_all works correcly (for large and small files).
on the server Current PHP version: 5.5.9 (2 vcpu 2GB ram)
preg_match_all stop execution of the code (if i test with small file it gives correct results).
Try using:
ini_set('memory_limit','1024M');
In the beginning of the script.
Also, if you're calling the script from your browser, print an empty space on that loop to keep your browser alive.

Page crashes with no clue why [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I have a webpage weblup(dot)net/templates/template3 (replace (dot) with a '.') and it just crashes when I run it. It was working fine not long ago but I have no clue why it's crashing all of a sudden. The biggest change before this happened was that I changed a picture.
Your Website have error in logo.png and it's to big to load in website. (16620 x 9333 pixels).
Solution: Change Your Image and resolution Image

PHP does not copy the file properly [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
im copying a file from another domain. It does not give me any errors but the files does not get recognized and its different size from the original file. Its the same extension i checked. so im kinda clueless.
if (!copy('http://maholi.com/image/data/Products/Linen - Juvenile and Infant/1440.jpg', $_SERVER['DOCUMENT_ROOT'].'/resources/categories/tttt6.jpg')) {
echo "failed";
}
any ideas?
This works fine for me:
if (!copy('http://maholi.com/image/data/Products/Linen%20-%20Juvenile%20and%20Infant/1440.jpg', $_SERVER['DOCUMENT_ROOT'].'/tttt6.jpg')) {
echo "failed";
}
Edit: URL's are not allowed to contain spaces. See "Is a URL allowed to contain a space?". Your web browser will automatically encode illegal characters, making you believe they are allowed.

Categories