954,242 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Apache on linux OS, running PHP scripts

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

[email]curtis_henken@hotmail.com[/email]

curtis_henken
Newbie Poster
5 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

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:

blud
Linux Reject
Staff Writer
830 posts since Apr 2004
Reputation Points: 154
Solved Threads: 20
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: