| | |
File upload problem
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2008
Posts: 5
Reputation:
Solved Threads: 0
Hi guys. I have this problem, i have a script which is handling file uploads. when running it on my local machine (WAMP--Apache 2.0; PHP 5.1.4) the script works well and all files are uploaded well. However on using the script on my server (LAMP -- Apache 2.0; PHP 5.1.4) it gives an error code 6 from $_FILES['files']['error']. Although it means that my temp dir is not set, it is set, and on doing a phpinfo(); it shows the uploaded_temp_dir path to be set.
Wat can be the problem????
Wat can be the problem????
Hi
This is probably just a stupid blip on my wampserver but i had the problem a while back and solved it via setting the permissions to 777. And when your seting them are you doing it through dreamweaver or on your remote mysql.
One other thing, make sure the permissions of the USER on your remote server has permission to write to your site.
Hope this helps but im sure most of its just nonsense.
This is probably just a stupid blip on my wampserver but i had the problem a while back and solved it via setting the permissions to 777. And when your seting them are you doing it through dreamweaver or on your remote mysql.
One other thing, make sure the permissions of the USER on your remote server has permission to write to your site.
Hope this helps but im sure most of its just nonsense.
![]() |
Similar Threads
- FTP problem (PHP)
- File upload help (PHP)
- excel file upload problem (ASP.NET)
- File Upload To Server - Problem (ASP)
- File upload - advanced help (PHP)
- file upload code.....need attention (PHP)
- File upload problem (PHP)
- hijacker.exe help, have no clue what's causing problem and don't want to delete good (Viruses, Spyware and other Nasties)
Other Threads in the PHP Forum
- Previous Thread: whois script not working in IE
- Next Thread: How can I declare an array as class variable?
| Thread Tools | Search this Thread |
# 5.2.10 alexa apache api array beginner binary broken cakephp checkbox class clean clients cms code cron curl database date directory display dissertation dynamic echo echo$_get[x]changingitintovariable... email encode error fairness file files folder form forms function functions google href htaccess html image images include indentedsubcategory insert ip javascript joomla legislation limit link local login mail memberships menu mlm multiple multipletables mysql mysqlquery newsletters oop open paypal pdf persist php problem provider query radio random recursion remote rss script search secure server sessions sms sockets source space spam sql syntax system table tutorial update upload url validator variable video web youtube






