Third Party Contributions > Old Style Plug-Ins

Multiple Domains Login

<< < (2/12) > >>

bpat1434:
Hmm..... so you'd want something like:

$user = $_POST['_user'].'@'.substr($_SERVER['HTTP_HOST'], 5);

right?

yada:
Cool plugin but i was wondering lets say you only have one domain
and i don t want my users to have to type in their domain and or server info think you could make something for that ???

Pete:
yada, you can use the same example above or if you don't mind them typing in their account name (everything before @yourserver.com) and password you can do this without a plugin by specifying a domain in the config file.

yada:
wow cool thanx man ;)

WebSide:

--- Quote from: Brett ---Hmm..... so you'd want something like:

$user = $_POST['_user'].'@'.substr($_SERVER['HTTP_HOST'], 5);

right?

--- End quote ---

This looks great. In which file i must wrote this?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version