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

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

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.