<?php echo $_SERVER['HTTP_USER_AGENT']; ?> That tells you the user's browser, and you can do appropriate operations from there. Keep in mind that this is not 100% accurate, because users can (with some browsers) change the value of HTTP_USER_AGENT or not show it at all. (There is no way to accurately detect a user's browser 100% of the time)
$ua = strip_tags(strtolower($_SERVER['HTTP_USER_AGENT'])); if(eregi('firefox', $ua) || eregi('opera', $ua)) { //allow content } else { //reject } PHP: The code above only allows access to firefox and opera, all other user agents are rejected. Use it with care as you will also block Googlebot and other crawlers
but is there any remote ftp script. it should display other server files on my site and can enter other server pass, user, port... (not good english)