By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,636 Members | 2,299 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,636 IT Pros & Developers. It's quick & easy.

PHP variables lost when uploading >~7MB files

P: 6
hello,

I need help from someone or some people who know PHP well. I am a newbie yes. But ihave a made a nice site which has about 5 pages. It is a homework submission site. It works perfectly exepct for one problem.

When someone submits a file larger then 7MB (approx) the session varaibles i created are lost and all variables are now null. However every file smaler then that works perfectly.

I am running IIS 6 on Win 2k3.

I am using session_start() and $_SESSION['blah'] = 'blah blah' as my methods of sessions. (no session_register or superglobals ((which i dont know wot that is)))

I also increased the Memory limit size in [resources] from 16 to 50 just to be sure and it still didnt help.

Can anyone help me with this? Please. I am so at a loss.

Thank you.
Feb 7 '07 #1
Share this Question
Share on Google+
2 Replies


Motoma
Expert 2.5K+
P: 3,235
Have you tried increasing your max post size and max upload size? Take a look at phpinfo() and see what they are set to.
Feb 7 '07 #2

P: 6
Have you tried increasing your max post size and max upload size? Take a look at phpinfo() and see what they are set to.
Hey - you answered it in one. Sorry it was a very silly thing for me to not see. I assumed that max_upload was the only upload specific value, theres also max_post - who knew? Not me.

Thanks alot, i am now content!

thank you.
Feb 8 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.