I figured a way around it with a help of a friend.. i will post what i did later.. atm i need help at something else..
okay so i do
PHP Code:
$_SERVER['PHP_SELF'];
gets /upload_script/whitey/home.php
but i want to strip the home.php.. so it shows /upload_script/whitey/ If you guys figure out how to do this before me let me know...
EDIT:
FIgured it out.. To fast for you
PHP Code:
$address_url = $_SERVER['PHP_SELF'];
$address_url_new = str_replace("home.php", "", $address_url);
die($address_url_new);