I have all the code to upload a file to a webserver, but I'm missing one
piece evidently. It is a simple form that is supposed to upload a file. It
seems that everything works EXCEPT for putting the right path. I'm putting
www.ricotierrarealty.com/test as the path...
Grant (see below for code)
<form action= "test.php" enctype="multipart/form-data" method="post">
Last Name:<br /> <input type="text" name= "name" value="" /> <br />
Class Notes:<br /> <input type="file" name="classnotes" value="" /> <br />
<p><input type="submit" name="submit" value="Submit Notes" /></p>
</form>
<?php
$result = move_uploaded_file($_FILES['classnotes']['tmp_name'], '
www.ricotierrarealty.com/test');
?>
Thanks!
[Non-text portions of this message have been removed]
The php_mysql group is dedicated to learn more about the PHP/MySQL web database
possibilities through group learning.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php_mysql/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/