hi, i would like to string out the host name so that if the full host name was something like "dan.dws05.ath.cx" then it would return the first bit which is "dan".
thanks, dandono
Printable View
hi, i would like to string out the host name so that if the full host name was something like "dan.dws05.ath.cx" then it would return the first bit which is "dan".
thanks, dandono
i had to take the -1 part out because you made it to take away the last letter for some reason and i changed it to string out $_SERVER['HTTP_HOST']. other than that it worked fine.
thanks, dandono