Total novice needs help

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
cweavers
Forum Newbie
Posts: 2
Joined: Tue Dec 14, 2004 10:57 am

Total novice needs help

Post 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
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post 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.
cweavers
Forum Newbie
Posts: 2
Joined: Tue Dec 14, 2004 10:57 am

Post by cweavers »

Thanks very much kettle_drum

That worked great!

Have a great christmas and new year


Weavers :D
Post Reply