473,402 Members | 2,072 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,402 software developers and data experts.

strange problem with file uplaod

My script stopped working today after working perfectly for a month.
It still works perfectly on our test server just not on our live
server.

The form that I use is this:
<form enctype="multipart/form-data" action="" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="3000000" />
Send this file: <input name="userfile" type="file" />
<input type="submit" value="Send File" />
</form>

then I check for an uploaded file with this:

$tmpFile = $_FILES['userfile']['tmp_name'];

echo 'tmpFile: ' . $tmpFile . "<br>\n";

but $tmpFile is empty and I just get the form back.

Everything was working perfectly and mysteriously stopped working
today. My application is also doing some other strange things like
only uploading parts of files via a php script that uses ftp which
leads me to believe it is a problem with the webserver. I've restarted
the apache a few times, but that hasn't helped. Everything else seems
to be working fine.

My script a little too big to post so I'm not posting it.
Jul 17 '05 #1
1 1759
In article <a6**************************@posting.google.com >, Jay Donnell wrote:
Everything was working perfectly and mysteriously stopped working
today. My application is also doing some other strange things like
only uploading parts of files via a php script that uses ftp which
leads me to believe it is a problem with the webserver. I've restarted
the apache a few times, but that hasn't helped. Everything else seems
to be working fine.


Perhaps the maximum execution time was exceeded? Have a look at the
manual how to change those limits.

--
Tim Van Wassenhove <http://home.mysth.be/~timvw>
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: lion | last post by:
I get these errors when uploading images via a web page: (the page still uploads the images but reports these errors?) Warning: fopen(D:\php\uploadtemp\php1FC7.tmp) : failed to create stream: No...
4
by: Raj | last post by:
I want to uplaod file from my local machine to server using ASP.NET appln, I know we can use Server.MapPath and save it on the server. My question is I want to upload a file without giving any file...
2
by: moondaddy | last post by:
I need to get the size on an image client side before the client uploads it, and if its too large, I need to alert the client rather than doing a postback. The code below successfully writes the...
0
by: A | last post by:
hi All! i m novice user for ASP, as well as for "thescript forum" so may this Q has already been asked by som1 else. my problem is:- can i access client's machine file system on which i m...
4
by: Marko Vuksanovic | last post by:
I am trying to cause the uplaod button, id="Upload",when clicked, to exectue the onClick event for Button1, id="Button1". <asp:FileUpload id="FileUpload" runat="server"> </asp:FileUpload>...
5
by: reidarT | last post by:
Is there an example how to upload a file from a clients machine to an ftp-server from a web-application? (No ftp-software!) reidarT
1
by: rashish12 | last post by:
Hello All, I want to uplaod the audio/video file on server using PHP. Also want to download the same file throught the script and play that same file. I know how to uplaod the text file using...
4
by: deepaks85 | last post by:
Dear Friends, Please help me that how can I upload any file into my FTP directory and also into my database? What are the requirements to uplaod a file? Do I need any third party tool for...
1
by: Gert Conradie | last post by:
The following code can uplaod text files. When i upload a binary file it fail. I might be: 1) using the wrong Encoding 2) will have to System.Convert.ToBase64String the content of the binary...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.