Page 1 of 1

Total novice needs help

Posted: Tue Dec 14, 2004 11:12 am
by cweavers
Hi

I have probably a very simple PHP problem but don't know where to start.

I run a small hosting business and want users to access their web mail via my website.

The problem I have is that each user has their own webmail url i.e: http://www.theirdomain.com/horde.

How can I get a form to take them to their own webmail url ?

Thanks for any help

Weavers

Posted: Tue Dec 14, 2004 10:44 pm
by kettle_drum

Code: Select all

$users_site = "http://www.".$_POST['website'];
header("Location: $users_site/horde");
Something like that. Check to make sure the site is valid before you redirect them.

Posted: Wed Dec 15, 2004 9:13 am
by cweavers
Thanks very much kettle_drum

That worked great!

Have a great christmas and new year


Weavers :D