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? 4 2248
On Aug 1, 3:56 pm, rob <r...@rawb.netw rote:
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?
On Aug 1, 4:03 pm, ELINTPimp <smsi...@gmail. comwrote:
On Aug 1, 3:56 pm, rob <r...@rawb.netw rote:
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.
On Aug 1, 4:03 pm, ELINTPimp <smsi...@gmail. comwrote:
On Aug 1, 3:56 pm, rob <r...@rawb.netw rote:
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="multip art/form-data">
<label for="layout_nam e">Layout Name: *</label>
<input type="text" name="layout_na me" value="" /><br />
<label for="file_thumb nail">Thumbnail Image: *</label>
<input type="file" name="file_thum bnail" /><br />
<label for="file_backg round">Backgrou nd Image:</label>
<input type="file" name="file_bg" /><br />
<label for="file_conta ct_table">Conta ct Table Image:</label>
<input type="file" name="file_cont act_table" /><br />
<label for="file_ext_n etwork">Extende d Network Image:</label>
<input type="file" name="file_ext_ network" /><br />
<label for="layout_cod e">Layout CSS Code: *</label>
<textarea name="layout_co de" rows="10" cols="40"></textarea>
<label for="submit"></label>
<input type="submit" name="submit" value="I'm done - submit my
layout!" />
</form>
On Wed, 01 Aug 2007 22:08:10 +0200, rob <ro*@rawb.netwr ote:
On Aug 1, 4:03 pm, ELINTPimp <smsi...@gmail. comwrote:
>On Aug 1, 3:56 pm, rob <r...@rawb.netw rote:
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="multip art/form-data">
<label for="layout_nam e">Layout Name: *</label>
<input type="text" name="layout_na me" value="" /><br />
<label for="file_thumb nail">Thumbnail Image: *</label>
<input type="file" name="file_thum bnail" /><br />
<label for="file_backg round">Backgrou nd Image:</label>
<input type="file" name="file_bg" /><br />
<label for="file_conta ct_table">Conta ct Table Image:</label>
<input type="file" name="file_cont act_table" /><br />
<label for="file_ext_n etwork">Extende d Network Image:</label>
<input type="file" name="file_ext_ network" /><br />
<label for="layout_cod e">Layout CSS Code: *</label>
<textarea name="layout_co de" 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($_FILE S) show you,
particular the error bit?
--
Rik Wasmus This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 files via FTP. I'm using
ftplib to do it, and for each file I'm using transfercmd("STOR " +
myfile) to get the socket, then uploading 4096 bytes at...
|
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 that directory if they want. Given that it's unix server, how do
I go about ensuring the files are written to that dir with the right
permissions?
|
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 our local intranet.
However, before we roll it into production, we have a couple of questions:
a) when is the file actually sent to the server? ...
|
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 find this:
|
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 more documents to share/use
during a meeting presentation. What would be the most efficient way to
approach this? This is the logic I'm currently...
| |
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 fine. Uploading file takes only about 1-2 seconds
because files sizes are small, but when I followed the ftp-servers event
list timestamps the...
|
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 would give it a try.
First of all, I am using Visual Studio 2005 to write my program. I am using C# .NET as the language. I am running Windows XP...
|
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 needs to store entire files, the preferred method is to save the file onto the server’s file-system, and store the physical location of the file in...
|
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 was working for the past couple
months. Now all of a sudden in the past couple of days we are seeming to have
problems.
The upload works fine...
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| | |