PHP question
#1
Scooby Regular
Thread Starter
Join Date: Apr 2002
Location: Birmingham
Posts: 9,196
Likes: 0
Received 0 Likes
on
0 Posts
Not sure if anyone on here is good with PHP - but i expect someone is!!!
I have a picture uploader as part of my site, which is user authenticated via .HTACCESS file. On my old host I used to be able to tag the filenames uploaded with the user's username. I have since changed server and now this doesnt seem to return any value. The format i am using is:
Is there another way to do it, as i would prefer their username to be logged rather than just a load of random number'd images?
Andy
I have a picture uploader as part of my site, which is user authenticated via .HTACCESS file. On my old host I used to be able to tag the filenames uploaded with the user's username. I have since changed server and now this doesnt seem to return any value. The format i am using is:
$newname[$i] = $PHP_AUTH_USER;
$newname[$i] .= str_makerand(12,12,"$false","$false","$true");
Andy
Thread
Thread Starter
Forum
Replies
Last Post
Brzoza
Engine Management and ECU Remapping
1
02 October 2015 05:26 PM