
Kanji
User
Nov 28, 2001, 5:52 PM
Post #4 of 6
(51647 views)
|
Re: What does this do? Can it work?
[In reply to]
|
Can't Post
|
|
No, it can't. Most likely, $image is the uploaded file; something PHP handles automatically if you've enabled the right things and have an entry like <input name="image" type="file"> in your form. To me, the greater source of confusion is why the code is using exec() to move a file instead of the native rename() or move_uploaded_file() functions. Anyhoo, for more information on PHP and uploads, see the manual.
|