| | |
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 |
Tag cloud for PHP
.htaccess access ajax apache api array back beginner binary broken cakephp checkbox class cms code cron curl database date directory display download dynamic echo email error file files filter folder form forms function functions gc_maxlifetime google host href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory memory menu mlm mod_rewrite multiple mysql navigation oop parse parsing paypal pdf php problem query radio random recursion regex remote script search server sessions sms snippet soap source space sql structure syntax system table thesishelp tutorial update upload url validation validator variable video web xml youtube






