PHP/HTML Email Login/Pass to be sent to exchange server

I am trying to install an email login on my company's homepage and have the login/pass be sent to an Exchange Server to open up the Outlook Web Mail.

I already have it working with the classic popup login but I would rather have the login on the page itself.

I found multiple scripts for this but alas... they are in asp.

Any ideas??

thanx
mechanyxAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Richard QuadlingSenior Software DeveloperCommented:
Just have a link to the Exchange Server and use it's own login page.

0
Richard QuadlingSenior Software DeveloperCommented:
If you mail server is mail.site.com

then, if the webmail service is installed/configured/running/properly, then

http://mail.site.com should give you a login page.

Richard.
0
mechanyxAuthor Commented:
Ref: RQuadling

My web service is configured properly and I can use the server's own login box but I was instructed to create a login directly on the homepage that passed the login/pass directly to the server and opened the webservice from there.
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

romulusnrCommented:
Grab the source of the web page on the exchange server, look at the <form> section for the login box.

Copy that HTML into your php, making sure to add the address of the exchange server in the ACTION= attribute.

For example lets say the remote site is at mail.yourdomain.com, and the HTML source for the login box looks like this:

<form method=post action=login.asp>

you need to make sure your HTML for the form says

<form method=post action=http://mail.yourdomain.com/login.asp>

the rest should remain the same, alter however you need.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gujju420Commented:
Were you able to solve this problem? Where is the HTML on the Exchange server? Please post your comments here or email me at webexperts4@yahoo.com
0
Richard QuadlingSenior Software DeveloperCommented:
You could also use PHP Curl to "hide" the login process.

I think that would be the safest way.

Alternatively, edit the default login page for exchange's webmail.
0
Richard QuadlingSenior Software DeveloperCommented:
Points to romulusnr.

Richard.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.