mod_rewrite is the best solution available to your case. more over if you are sure that your host supports .htaccess, there is very little chance that they will block mod rewrite alone. you can confirm that by phpinfo. look in apache2handler-> Loaded Modules section (this does not tell you if .htaccess is enabled/disabled) but in the worst case try using $_SERVER['REQUEST_URI'] instead of $_SERVER['PHP_SELF']. in either case you cannot do this with .htaccess disabled. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php