File Size Help
Posted: Wed Nov 11, 2009 11:01 am
Hello,
I have text files that need to be uploaded to mysql, but before that they need to be parsed. They are in excess of 240MB each and my php ini states the post_max_size is 8M, upload_max_filesize is 40M, and the memory_limit is 512M. I do not have access to the php ini file to modify it to accept larger files as it is maintained by my company. The server admin will not raise the limit. Is there any way to get around this? I have tried ini_set('post_max_size','250M'); and it does not work. It will however change the memory_limit, but that doesn't help me.
What I am trying to do is parse through this large text file and assign the values to variables. I will then upload the variables to fields in a mysql database.
I have text files that need to be uploaded to mysql, but before that they need to be parsed. They are in excess of 240MB each and my php ini states the post_max_size is 8M, upload_max_filesize is 40M, and the memory_limit is 512M. I do not have access to the php ini file to modify it to accept larger files as it is maintained by my company. The server admin will not raise the limit. Is there any way to get around this? I have tried ini_set('post_max_size','250M'); and it does not work. It will however change the memory_limit, but that doesn't help me.
What I am trying to do is parse through this large text file and assign the values to variables. I will then upload the variables to fields in a mysql database.