PHP
by asm0d30us - Saturday April 13, 2024 at 01:15 PM
#1
Need help for php and xampp, unable to upload csv file more than 50mb through php file .
Reply
#2
did you try to increase the max_upload_filesize inside php.ini???
Reply
#3
make changes in php.ini file
Reply
#4
are you using which os ? it make a lot difference
Reply
#5
Without changing php.ini:

<?php

// Set the desired max file size (in bytes)
$maxFileSize = 100 * 1024 * 1024; // 100 MB

// Set the new values for upload_max_filesize and post_max_size
ini_set('upload_max_filesize', $maxFileSize); // Set upload_max_filesize
ini_set('post_max_size', $maxFileSize); // Set post_max_size

Change via php.ini:
upload_max_filesize = 100M
post_max_size = 100M
Buffer Overlord
Deploying Precision in Every Line.
PGP Fingerprint: C1F5 5935 4992 A77B 69E1 B626 7556 1F6B 453C B36F
https://pastebin.com/raw/6k1RJQie
Reply
#6
(Apr 13, 2024, 11:28 PM)DevEye Wrote: Without changing php.ini:

<?php

// Set the desired max file size (in bytes)
$maxFileSize = 100 * 1024 * 1024; // 100 MB

// Set the new values for upload_max_filesize and post_max_size
ini_set('upload_max_filesize', $maxFileSize); // Set upload_max_filesize
ini_set('post_max_size', $maxFileSize); // Set post_max_size

Change via php.ini:
upload_max_filesize = 100M
post_max_size = 100M

Thank you man i'll check it out
Reply
#7
(Apr 13, 2024, 01:15 PM)asm0d30us Wrote: Need help for php and xampp, unable to upload csv file more than 50mb through php file .

increase the PHP max_upload_filesize .
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  AI-Powered Vulnerability Scanners: Acunetix & Nessus op404 57 3,291 Yesterday, 09:19 AM
Last Post: Usercomplex
  Malware Development - Part 4 op404 19 1,414 Apr 21, 2026, 11:30 PM
Last Post: Bugatti
  Bluesnarfing op404 10 894 Feb 10, 2026, 08:06 AM
Last Post: windandweather
  Google Recovery Email/Phone bypass 085 114 13,517 Feb 08, 2026, 03:48 AM
Last Post: poneyyintheonion1
  ? Mantis: AI-Powered Exploit Development & Automation op404 19 1,466 Feb 07, 2026, 12:03 AM
Last Post: cryptokni8

Forum Jump:


 Users browsing this forum: 1 Guest(s)