Jump to content

[SOLVED] basename() wont do it's job


clown[NOR]

Recommended Posts

well.. as the topic subject explained... that's my issue...

 

$logoFile = basename($_FILES['uploadlogo']['name']);
$logoPath = "../../../images/";
$logoFullPath = $logoPath . $logoFile;

echo "Filename: ".$logoFile."<br>";
echo "Path: ".$logoPath;

 

and it returns

Filename:
Path: ../../../images/

Link to comment
https://forums.phpfreaks.com/topic/46193-solved-basename-wont-do-its-job/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.