Thread
:
Adjusting File Name - phuploader
View Single Post
#
5
05-17-2012, 09:38 AM
Scott
AKA. Panther
Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,922
I overlooked some brackets.. Try this line:
PHP Code:
$file_name
[
$i
]=
strstr
(
$_FILES
[
'file'
][
'name'
][
$i
],
'.'
,
true
).
"."
.(
time
()+
rand
(
0
,
100000
));
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Scott
View Public Profile
Visit Scott's homepage!
Find all posts by Scott