You are here: Problem fileupload « PHP Language « IT news, forums, messages
Problem fileupload

Posted by Marcel Molenaar on 05/03/07 14:52

I have a strange problem with a very simple fileupload script. It works
fine, file is uploaded to test20.php but when i click the browsers back
button and choose other file to upload only a blank page shows up after
clicking submit.

test10.php

<form action="test20.php" method="post" enctype="multipart/form-data"
id="form1">
<input type="file" name="upload" />
<input type="submit" name="Submit" value="Submit" />
</form>

test20.php

<?php
echo $_FILES['upload']['name'];
?>

Platform is Windows 2003 Server Web Edition Service Pack 1 and PHP version
is 5.2.0 running as ISAPI. The site is a https environment.

Strange thing is that i have exactly the same files on another server (linux
and PHP 4.4.6) at www.mediaquest.nl/test10.php and there it is running fine.

Anybody any idea??? Thanks in advance!!!

Marcel

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация