Same name of the file without the extension:
mkdir(substr($SERVER["PHP_SELF"],0,len($SERVER["PHP_SELF"])-strstr($_SERVER["PHP_SELF"],"."));
I haven't tested this (just wrote it in here), but it should work. It removes everything after the first period.