RE: [PHP] OT Re: php|cruise - do unto others...
| From: | Jay Blanchard | Date: | Mon, 20 Oct 2003 20:18:36 +0000 |
| Subject: | RE: [PHP] OT Re: php|cruise - do unto others... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-166829@lists.php.net to get a copy of this message | ||
[snip]
> > > I cant attach my loose change to my email :(
> >
> >Sadly, that feature won't be implemented till PHP5. ;)
>
> Yeah I tried that and it took my underwear and left a welt, I
submitted it
> as a bug.
I heard it might be delayed till PHP 6 due to unforseen technical
difficulties.
[/snip]
$uploaddir = '/var/change/uploads/';
$uploadfile = $uploaddir. $_FILES['userchange']['name'];
if (move_uploaded_change($_FILES['userchange']['tmp_name'],
$uploadfile)) {
print "Change is valid, and was successfully uploaded. ";
print_r($_FILES);
} else {
print "Possible theft of change!\n";
print_r($_FILES);
}
I was able to upload my loose change (see code above), but now I cannot
find it.