Hi. I am quite new to php. I have a website which is hosted (using a hosting company) on linux servers and uses PHP 4.1.2 (wish they would upgrade it!)
I have a few questions: 1) I want to have a PHP script which I can then call bu the include() command for a few of my web pages that will greet you with Good morning, good afternoon and good evening. I know there are many examples of these to be found. But don't these only work if the person viewing the pages lives in the same time-zone as my server? Is there a way of displaying the correct greeting for the viewers particular time-zone? 2) I would like to show the correct date (again so that it will be the correct date for the viewers time-zone) but will also output in the correct way for either US or UK viewers. For example if a person looks at my site in the UK they may see: 28th February 2003 and in the US they would see February 28, 2003 (by the way, is that the correct way of putting the date for the US?) 3) If it is indeed possible for PHP to differentiate between someone from the US, and the UK (or indeed other countries) can it then output different spellings? For example if part of my website had some text: "A man with a grey-coloured top walked along the pavement and then onto the road. He saw a car in the distance with a purple boot and a blue bonnet." would it be possible for PHP to convert it for an American viewer: "A man with a gray-colored top walked along the sidewalk and then onto the pavement. He saw an automobile in the distance with a purple trunk and a blue hood." Excuse me if I translated it into American English wrongly! I would be grateful if people could come up with some solutions for these things. Regards, Ian Gray --------------------------------- Ian A. Gray Manchester, UK Telephone: +44 (0) 161 224 1635 - Fax: +44 (0) 870 135 0061 - Mobile: +44 (0) 7900 996 328 US Fax no.: 707-885-3582 E-mail: [EMAIL PROTECTED] - Websites: www.baritone.uk.com (performance) & www.vocalstudio.co.uk (Tuition) --------------------------------- --------------------------------- With Yahoo! Mail you can get a bigger mailbox -- choose a size that fits your needs