|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Quote:
Quote:
__________________
Irony: That for most people the most "trusted" web site on the planet is for a company the has been convicted of criminal activity. Both Security and SuSe start with "S". www.oldslides.com |
|
|||
|
Make sure the owner of the file also has ownership of the target directory.. i.e. "apache" or "nobody"
Usually the process the webserver is running as.. e.g. -rw------- 1 apache apache 1816 Oct 31 23:59 uploadimage.php drwx------ 2 apache admin 4096 Oct 31 12:00 filetargetdirectory Also .. 777 BAAAAD .. that means the directory is readable, writeable and EXECUTABLE by everyone.. You can get by with 755 Regarding the header.. there should be nothing written to the screen i.e. no output.. echo, printf etc.. before the header(); setcookie() or other similar call..
__________________
Hardcore Programming Solutions and Coffee Drinker |
|
|||
|
I would like to ask something too regarding php and the upload page. I also have an upload page set up but I can't upload more than 20 Mb. I know that I have to modify something on the files on the server to have permission for more, but I'm not sure exactly what are the changes I have to make. Anyone can help me? Thank you in advance.
|
|
||||
|
You need to alter the upload_max_filesize in your php.ini file.
If you have access to your server files and can edit them then edit the upload_max_filesize to whatever size you think you need. To find out where the file is you can type the command locate php.ini and it will show you where it is.
__________________
"I have not failed. I have found 10,000 ways that don't work" - Thomas Edison. "The secret to creativity is knowing how to hide your sources" - Albert Einstein. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |