Many thanks for your help.
This solves the problem within 2 minutes.
Date: Mon, 10 May 2004 15:32:23 -0700
From: Brion Vibber <brion(a)pobox.com>
Subject: Re: [Mediawiki-l] special page fileUpload doesn`t run
To: MediaWiki announcements and site admin list
Content-Type: text/plain; charset=us-ascii; format=flowed
Eduard Bauer wrote:
if I upload a file the tempfile-name on the
answer-page comes wrong
example, wampp2tmpphp3E2A.tmp the "\" are eliminated
the correct path would be "wampp2\tmp\php3....
I run the mediawiki on a windowsXP with apache.
There's an inconsistency in how PHP does its "magic quotes" mangling on the
upload data, which we had overlooked. It doesn't usually make a different on
Unix but Windows does silly things like using backslash for a directory
separator, which screws everything up when we remove the "extra"
A fix will be in 1.2.6; you can make the change manually in index.php:
-- brion vibber (brion @ pobox.com