You are not logged in.
GRRR....Never mind the title. I spent all afternoon trying to figure out where the actual upload happens and troubleshooting why it goes wrong. This is very frustrating.
Here's what I got:
This simple piece of code in manager.php does the entire upload (*aaargh*):
<tr>
<th align="left">Upload:</th>
<td colspan="2">
<input type="file" name="upload" id="upload" />
<input name="Upload" type="submit" id="Upload" value="Upload" onclick="doUpload();" />
</td>
</tr>
Then, in Classes/ImageManager.php, you find functions:
- processUploads()
- _processFiles()
$_FILES['upload'] contains the HTML form submitted file contents.
Food for your mind: http://www.cs.tut.fi/~jkorpela/forms/file.html
After all this 'research', IT STILL DOES NOTHING *aargh*.
I will investigate...
As I had problems earlier with PHP Magic Quotes in combination with ImageManager session / secret key stuff, I suspect something similar here...
Any tips = highly appreciated as usual :-)
Last edited by c0 (2005-10-17 09:52:58)
Offline