Products
Services
Contact Us

User's Forum & Discussion Groups

Not a Member Jet?   Register Here
Username:   Password: 

 

tabforum.gif
Subject Author Time Posted Rating
 How do I upload a file using PHP? 
(Original Message)
Ron_IO
Posts:2
06/26/10
10:40 am

Votes:0
Rate Question: - | +
Hi, I just recently began working on PHP and came across a problem that I have not been able to solve. Basically, I'm trying to upload images to the server but I am getting errors such as "the server can not find the directory specified" and "permission denied". Any ideas as to what might be the cause? ..Thanks Ron
 Re:How do I upload a file using PHP? 
(Reply)
Moderator
Posts:12
06/28/10
10:52 am

Votes:0
Rate Reply: - | +
Mr Ron, We have tutorials on our PHP section that can help you solve the most common problems when uploading a file. See [http://www.erobo.net/scripts/php/scripts_code.php?id=1&section=PHP&division=file+upload+operations] for an example. Also, I would recommend you double checking file permissions on the directory you intend to use as "target directory". Usually, you should set permissions to 777 on these types of folders. Finally, make sure that you specify the right path to that directory in your PHP script before moving the file to the server. Good Luck!.. Moderator #7
Report Abuse +

Go Back