| Author | Post |
|---|
DebbyP Member
| Joined: | Sun Feb 17th, 2008 |
| Location: | |
| Posts: | 2 |
| Status: |
Offline
|
| Mana: |     |
|
Posted: Sun Feb 17th, 2008 02:46 pm |
|
I am trying to modify this piece of script to put on my website so that a client using webmail can access their email without having to go to the server panel, just come to my website.
<FORM ACTION="http://webmail.YOURDOMAIN.COM/src/redirect.php" METHOD="POST">
<INPUT TYPE=HIDDEN NAME="just_logged_in" value=1>
Name: <INPUT TYPE=TEXT NAME="login_username" VALUE="">
Password: <INPUT TYPE=PASSWORD NAME="secretkey">
<INPUT TYPE=SUBMIT VALUE="Login"></form>
I was told:
You could write some PHP code to do this with $_GET to specify the domain
within the url like so:
foo.php?domain=mydomain.com
And then have:
<FORM ACTION="http://webmail.<?php echo $_GET['domain'];
?>/src/redirect.php" METHOD="POST">
I haven't got a clue as to what to do. I've read through alot of the posts here and elsewhere but it hasn't gotten any clearer to me.
Can someone explain what they are talking about.
Thank you,
DebbyP
[code]
|
TomWhitney Member

| Joined: | Fri Dec 30th, 2005 |
| Location: | Phoenix, Arizona USA |
| Posts: | 99 |
| Status: |
Offline
|
| Mana: |     |
|
Posted: Sun Feb 17th, 2008 10:10 pm |
|
Is the domain you need to supply yours or you clients? If not yours how do you obtain the domain, are you planning on asking for domain, username and password, in the login form or do you have it saved in the session or something.
It looks like the form is going to a page that is redirected, what does the URL look like on the actual email page?
Tom Whitney
----------------
Los Angeles Helicopters - Helicopter Training, Helicopter Tours, Helicopter School
Los Angeles Helicopters
|
DebbyP Member
| Joined: | Sun Feb 17th, 2008 |
| Location: | |
| Posts: | 2 |
| Status: |
Offline
|
| Mana: |     |
|
Posted: Mon Feb 18th, 2008 04:15 pm |
|
Thank you for getting back to me. I found a very simple way to do this that seemed to elude even my server tech people when I asked them. All I had to do was put their (the server companies) domain name in the spot of the script that was "YOURDOMAIN.COM" and it worked just fine. Only took me two days of research to figure it out for myself.
Sometimes programmers look for the most complicated solutions to a problem.
Thank you again,
DebbyP
|
resource004 Member
| Joined: | Fri Apr 4th, 2008 |
| Location: | |
| Posts: | 65 |
| Status: |
Offline
|
| Mana: |     |
|
Posted: Thu Apr 24th, 2008 07:55 am |
|
Hi Friends,
Do you have any problem in web designing and development or do you want any kind of help in PHP/MYSQL or you need reliable and cheap web hosting or have any problem in E-commerce solutions then go to this site http://www.pakandu.com/contactus.php ,
It is a company of web designing and development and it have a great web designers, developers and Programmers.
When I got in any problem of web designing /development and Programming or I need reliable web hosting or facing any problem in E-commerce Solutions then I just go to this site and ask them the solution of my problem and they always provide me best solution for my problem.
So do you have any above problems then contact them without any hesitation.
Regards,
Resource
|
 Current time is 07:50 pm | |
|