Hi all,
ok this is quite general in a sense but there's no other approperiate forum to put this so here goes:
When thinking how the langauges resolve IP when given a hostname, am I right to say that client-side languages like javascript uses the local computer's host file and then DNS, while server-side lanauges like PHP uses the server's host file and DNS?
as in http://sg2.php.net/gethostbyaddr and http://sg2.php.net/gethostbyname?
in a shared hosting environment, is it possible to create a host file only for individual user for linux and windows environment? such that the above php functions returns the values in the host file?
many thanks in advance.
Regards
Jake