well, i'm also having in php.ini
register_globals = Off
but it works!!
another way is to do:
<?php
import_request_variables('GPC', '_prefix_');
if (isset($_prefix_submit)) {
$pos = strrpos($_prefix_filePath, "\\\");
$filePath = stripslashes(substr($_prefix_filePath, 0, $pos));
echo "filePath ==> $filePath<br>";
}
?>
<HTML>
<BODY>
<form name="filePath" action="filePath.php" method="post">
<input type="file" name="filePath">
<input type="submit" name="submit" value="getPath">
</BODY>
</HTML>
maybe that works!
ceeyaa.MeX