Hi
This is the html form which gets submitted, just straight forward html.
<form enctype="multipart/form-data" action="upload.php" method="post">
<table width=100%>
<tr><td><img src="./images/logo.gif"></td></tr>
</table>
<span class="title">Client Upload Area</span>
<br><br>
<span class="smalltitle">Format:</span>
<ul><li>No MAC files!</li>
<li>All files must be sent with CMYK-colour settings.</li>
<li>Use the following formats only: JPEG, PDF.</li>
<li>With vector graphic formats all text must be converted to paths!</li>
<li>Set up pixel images with 300 dpi to avoid loss of quality during
printing.</li>
<li>All text, logos, and important artwork must stay away from all edges by
a minimum of 5mm to avoid being cut off. </li>
</ul>
<table border=0px>
<tr><td colspan=2>Please enter your details in the spaces below</td>
<td style="border: 1px solid gray" rowspan=12>Some nice adverts can go in
here</td>
</tr>
<tr>
<td>Enter Project Name:</td>
<td><input type="text" name="fldpname" size=75></td>
</tr>
<tr>
<td>Your Name:</td>
<td><input type="text" name="fldname" size=75></td>
</tr>
<tr>
<td>Your Company Name:</td>
<td><input type="text" name="fldcname" size=75></td>
</tr>
<tr>
<td valign="top">Your Address:</td>
<td><input type="text" name="fldadd1" size=75><br>
<input type=text name=fldadd2 size=75><br>
<input type=text name=fldadd3 size=75><br>
<input type=text name=fldadd4 size=75><br>
<input type=text name=fldadd5 size=75><br>
</td>
</tr>
<tr>
<td valign="top">Your Telephone Number:</td>
<td><input type=text name=fldphone size=75></td>
</tr>
<tr>
<td valign="top">Your Fax Number:</td>
<td><input type=text name=fldfax size=75></td>
</tr>
<tr>
<td valign="top">Your Email Address:</td>
<td><input type=text name=fldemail size=75></td>
</tr>
<tr>
<td valign="top">How can we help?:</td>
<td><textarea rows=10 name=fldcomments cols=75></textarea></td>
</tr>
<tr><td>
<input type="hidden" name="MAX_FILE_SIZE" value="100M" />
<input type="hidden" name="POST_MAX_SIZE" value="100M" />
Choose a file to upload: </td><td><input name="uploaded_file"
type="file" />
</td></tr>
<tr><td colspan=3><input type="button" value="Upload" onclick="submitme()"
/></td></tr>
</form>
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Ted Roche
Sent: 16 November 2007 19:25
To: [email protected]
Subject: Re: [NF] any PHP4 gurus out there?
On Nov 16, 2007 2:02 PM, Graham Brown (CompSYS) <[EMAIL PROTECTED]> wrote:
>
> I'm working on some code to upload to a website cms via PHP.
> The script works fine up to 500k but errors on anything over at about 90
> seconds.
>
You don't supply the script, so it's hard to guess what's going wrong.
Are you using a PUT or POST?
The manual http://www.php.net/features.file-upload has some suggestions.
--
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.