Ok, I'm slightly answering my own question but I figured out, I THINK, that
I need to put only the folder "/test" and NOT the full URL.
I'm now getting a "permission denied" which for me is good news because it
means I'm on to something. I've read where I need to edit the upload_tmp_dir
configuration directive, but how?? I think my code is now correct except
that I don't have the permissions. By the way, the website is being hosted
by godaddy.com.
Thanks,
Grant
On 3/16/06, Grant Pollet <[EMAIL PROTECTED]> wrote:
>
> 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/