when the user logs in, it will upload to the user's folder, but on making an array for the users's dir i cant link the files that are there
$user = "test";
$file = " test.gif";
Then i would want the code like this yes?
echo "<tr>\n <td><img src=\"/images/jpg.gif\" /> <a href=\"$user/$file\"> $file </a></td>
i would expect the output of this to be "www.domain.com/test/test.gif" yes?
what im getting back is "www.domain.com//test.gif
Its completly droping the $user data
user is defined by
$user = "$logged[username]";