473,486 Members | 2,296 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Uploading one file works, but uploading two results in 'Connection Interrupted'

rob
I'm running PHP 5.2.3 via fastcgi. When I upload one file via a form,
it works perfectly. When I try to upload two files, however, I get the
'Connection Interrupted / The network link was interrupted while
negotiating a connection. Please try again.' message. The file sizes
aren't an issue as I checked the max post size, etc.

Anyone have any ideas what's wrong?

Aug 1 '07 #1
4 2237
On Aug 1, 3:56 pm, rob <r...@rawb.netwrote:
I'm running PHP 5.2.3 via fastcgi. When I upload one file via a form,
it works perfectly. When I try to upload two files, however, I get the
'Connection Interrupted / The network link was interrupted while
negotiating a connection. Please try again.' message. The file sizes
aren't an issue as I checked the max post size, etc.

Anyone have any ideas what's wrong?
Can I see your <formcode, please?

Aug 1 '07 #2
On Aug 1, 4:03 pm, ELINTPimp <smsi...@gmail.comwrote:
On Aug 1, 3:56 pm, rob <r...@rawb.netwrote:
I'm running PHP 5.2.3 via fastcgi. When I upload one file via a form,
it works perfectly. When I try to upload two files, however, I get the
'Connection Interrupted / The network link was interrupted while
negotiating a connection. Please try again.' message. The file sizes
aren't an issue as I checked the max post size, etc.
Anyone have any ideas what's wrong?

Can I see your <formcode, please?
I decided to find the php.net manual entry for what I was getting at:
http://us3.php.net/manual/en/feature...d.multiple.php

please make sure you're using multiple <input type='file'>
statements. But would also like to see your code if this isn't the
problem.

Aug 1 '07 #3
rob
On Aug 1, 4:03 pm, ELINTPimp <smsi...@gmail.comwrote:
On Aug 1, 3:56 pm, rob <r...@rawb.netwrote:
I'm running PHP 5.2.3 via fastcgi. When I upload one file via a form,
it works perfectly. When I try to upload two files, however, I get the
'Connection Interrupted / The network link was interrupted while
negotiating a connection. Please try again.' message. The file sizes
aren't an issue as I checked the max post size, etc.
Anyone have any ideas what's wrong?

Can I see your <formcode, please?
<form action="/my/url" method="post" enctype="multipart/form-data">
<label for="layout_name">Layout Name: *</label>
<input type="text" name="layout_name" value="" /><br />

<label for="file_thumbnail">Thumbnail Image: *</label>
<input type="file" name="file_thumbnail" /><br />

<label for="file_background">Background Image:</label>
<input type="file" name="file_bg" /><br />

<label for="file_contact_table">Contact Table Image:</label>
<input type="file" name="file_contact_table" /><br />

<label for="file_ext_network">Extended Network Image:</label>
<input type="file" name="file_ext_network" /><br />

<label for="layout_code">Layout CSS Code: *</label>
<textarea name="layout_code" rows="10" cols="40"></textarea>

<label for="submit"></label>
<input type="submit" name="submit" value="I'm done - submit my
layout!" />
</form>

Aug 1 '07 #4
Rik
On Wed, 01 Aug 2007 22:08:10 +0200, rob <ro*@rawb.netwrote:
On Aug 1, 4:03 pm, ELINTPimp <smsi...@gmail.comwrote:
>On Aug 1, 3:56 pm, rob <r...@rawb.netwrote:
I'm running PHP 5.2.3 via fastcgi. When I upload one file via a form,
it works perfectly. When I try to upload two files, however, I get the
'Connection Interrupted / The network link was interrupted while
negotiating a connection. Please try again.' message. The file sizes
aren't an issue as I checked the max post size, etc.
Anyone have any ideas what's wrong?

Can I see your <formcode, please?

<form action="/my/url" method="post" enctype="multipart/form-data">
<label for="layout_name">Layout Name: *</label>
<input type="text" name="layout_name" value="" /><br />

<label for="file_thumbnail">Thumbnail Image: *</label>
<input type="file" name="file_thumbnail" /><br />

<label for="file_background">Background Image:</label>
<input type="file" name="file_bg" /><br />

<label for="file_contact_table">Contact Table Image:</label>
<input type="file" name="file_contact_table" /><br />

<label for="file_ext_network">Extended Network Image:</label>
<input type="file" name="file_ext_network" /><br />

<label for="layout_code">Layout CSS Code: *</label>
<textarea name="layout_code" rows="10" cols="40"></textarea>

<label for="submit"></label>
<input type="submit" name="submit" value="I'm done - submit my
layout!" />
</form>

It seems perfectly fine. What does a var_dump($_FILES) show you,
particular the error bit?
--
Rik Wasmus
Aug 2 '07 #5

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

Similar topics

5
7814
by: Kevin Ollivier | last post by:
Hi all, I've come across a problem that has me stumped, and I thought I'd send a message to the gurus to see if this makes sense to anyone else. =) Basically, I'm trying to upload a series of...
4
2645
by: Chris Dewin | last post by:
How do I go about writing a cgi script, that will enable the client to upload things to a directory on my website? I would also like to write a script that enables the client to delete items in...
0
900
by: HBrothers | last post by:
I have developed an ASPX page which allows users to upload a CSV file to the server, which then processes it and prepares a report based on the data in the file. The page works fine in testing on...
3
2041
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...
5
2706
by: Chris | last post by:
I have a meetings section I'm developing on our intranet. Using PHP/MySQL. Meeting info and Meeting docs reside on 2 related tables in the db. Users may want to upload anywhere from 1 to 10 or...
0
1194
by: Mika M | last post by:
Hi! I'm uploading file(s) over internet like... My.Computer.Network.UploadFile("C:\file1.txt", "ftp://some.domain.com/file1.txt", "MyUID", "MyPWD", False, 1000) ....and this is working...
1
4398
by: WeCi2i | last post by:
Okay, I have a problem that has been stumping me for weeks. I have tried many different solutions and this is pretty much my last resort. I have seen a lot of good answers give here so I figured I...
221
366935
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
10
8036
by: =?Utf-8?B?RGFu?= | last post by:
I'm using a pure ASP upload script to handle file uploading. We run IIS6 and I'm aware of the AspMaxRequestEntityAllowed variable in the metabase. I upped this to allow the file size maximum and it...
0
7105
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
6967
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
7132
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,...
1
6846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7341
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...
1
4870
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...
0
1381
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
600
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.