Ok, i'm trying to run a simple file upload script in php. When i select a file to upload, it gives me this as a message -> Warning: copy(ect/apache2/htdocs/beloit.JPG): failed to open stream: No such file or directory in /srv/www/capitalcitycorvairs/uploader.php on line 5
Could not copy file

Now i know i have either my path wrong or my configuration is wrong in apache. Can anyone help me?

The link to the page is: curtis.homelinux.com/uploader.html
(it's a two page php script made up of uploader.html and uploader.php)

Thanks for your help!

Curtis

curtis_henken@hotmail.com

This looks more like a script configuration issue, I would recommend checking either the uploader.php or your php.ini and ensure that you have a leading / on the path, and that it is specified to the directory you want to use. :cheesy:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.