473,387 Members | 1,721 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

PHP variables lost when uploading >~7MB files

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
2 1175
Motoma
3,237 Expert 2GB
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
amfony
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

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

Similar topics

2
by: rbt | last post by:
Has anyone used pure python to upload files to a webdav server over SSL? I have no control over the server. I can access it with all of the various webdav GUIs such as Konqueror, Cadaver, etc. by...
5
by: Dave Navarro | last post by:
I am using some free Upload code by Jacob Gilley: ''*************************************** '' File: Upload.asp '' Author: Jacob "Beezle" Gilley '' Email: avis7@airmail.net '' Date: ...
4
by: ayanwen | last post by:
I have problem in uploading files using ASP, can you give me some sample code about uploading using ASP? -- ayanwen ------------------------------------------------------------------------...
3
by: Brian Pittman | last post by:
Hi, I was wondering how to go about creating a wrapper function for uploading files to the server? I have made an attempt on my own without success. I don't get any exceptions from the...
4
by: marfi95 | last post by:
Hi all, I'm trying to do what I consider to be a fairly simple task, yet I'm having a heck of a time getting it to work. I'm trying to upload a file (without user intervention and a browser)...
3
by: Dean Richardson | last post by:
Hi, I'm having trouble uploading files via a PHP script. Whenever I upload a file greater than 10K, the file gets corrupted. However, text files upload OK. When I check the FTP Server log I...
3
by: Benry | last post by:
Without having a reference to a specific folder, is there a way that Windows fires an event when files in a folder are modified? I'm using C++.NET 2.0 for programming a service, and would like...
0
by: mivey4 | last post by:
I have been experimenting with sending and receiving files using the webClient class provided in .NET. (C#) I don't seem to have any problems downloading files from my test web server using the...
1
by: Gabriel Pineda | last post by:
hi, i'm having a problem that is driving me nut! i have an asp.net application runnning in a server. the application allows to uploading files. from my computer i can upload files without any...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.