|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
file-upload question
ok i use this code to save a picture submitted by a form...
now why doesnt it work? |
|
#2
|
|||
|
|||
|
RE: file-upload question
You may want to look at
move_uploaded_file. http://php.net/move_uploaded_file |
|
#3
|
|||
|
|||
|
RE: file-upload question
The way PHP works is that when you upload a file, it is uploaded to a temp directory. At the end of the script's execution, the file is deleted from the temp directory. Therefore you must move the file before the script finishes. As kvance said, you need to look at the move_uploaded_file() function to see how to do this.
|
|
#4
|
|||
|
|||
|
RE: file-upload question
woot
thanks a lot...works fine |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > file-upload question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|