Reply to file 'upload'

Your name:

Reply:


Posted by james troy on 12/20/05 06:17

I am trying to use a form that is usually used for file uploads to obtain a
path/filename.
The form I'm using is:

<form id="f1" action="e.php" method="get">
<input type="hidden" name="MAX_FILE_SIZE" value="30000" />
select file: <input name="cwdrf" size="55" type="file" value=""><br>
<input type=submit value=submit >
</form>

I'd like to get the path/ filename to the file, e.php:
<?
echo $_REQUEST['cwdrf'];
?>

Although the text window in the form shows the full path, only the file name
gets through to e.php.
Is there some predefined variable that will get the full path?

[Back to original 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

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