Hey everyone, when i run this script, it says like this:
<?php
$file = basename ($userfile);
copy($userfile, $file);
?>
In that BASENAME part, it always turns $file into 'php2'
Not the filename I want, just PHP2.
Can someone please gimmie some help as to how i can take a long url, and take JUSt the file name?
Thanks a ton!