| | |
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 |
apache api array beginner beneath broadband broken button cache cakephp class cms code confirm countingeverycharactersfromastring crack cron curl customizableitems database date decode display dynamic echo email error fcc file folder form forms forum freelancing function functions google header headmethod howtowriteathesis href htaccess html iframe image include incode integration ip javascript joomla limit link login malfunction match menu method mod_rewrite multiple mysql neutrality oop pagerank paypal pdf php phpmysql play query question random recursiveloop root script search select server sessions sms smtp soap source space sql strip_tags support! survey system table template tutorial upload url variable video virus web window.onbeforeunload=closeme; youtube






