Solved

Loging into Gmail via php

Posted on 2006-07-17
7
523 Views
Last Modified: 2009-07-29
I have my domain hosted in google (google.com/hosted) and I want to make a login form, that allows me to login in gmail webmail.

any Idea.?
0
Comment
Question by:phlackee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 7

Assisted Solution

by:maUru
maUru earned 100 total points
ID: 17126638
you have a domain hosted in google? how!?
0
 
LVL 17

Assisted Solution

by:BogoJoker
BogoJoker earned 200 total points
ID: 17126986
I doubt that you could access it directly from your google domain because gmail is on the mail.google domain.
But you could probably use the CURL library to log into your gmail, access your gmail ATOM feed.  I have not experiemented with CURL at all though.

maUru => Google Page Creator makes http://yourGoogleLogin.googlepages.com/

Joe P
0
 
LVL 1

Accepted Solution

by:
Sony-Controlled earned 200 total points
ID: 17131030
find out the values of gmails login like there usename and password right click on gmails website and click view source get the forms name username and password txt field name and the action of where it goes just copy it and make ur on login from that information have the form action redirect to what googles redirect and you have a gmail login it is very simple. Just use what they use and it should work fine
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Author Comment

by:phlackee
ID: 17131126
www.google.com/hosted/urbanway.net/
and
flakerimi.googlepages.com.

My idea is to put in index of domain login form.

I find a login in Gfile at http://joss.thescholtens.com/projects/gfile/ but grrrr. CURL library . I dont know that one.

$postdata = "service=mail&Email=".urlencode($this->login)."&Passwd=".urlencode($this->pwd)."&null=Sign%20in&continue=https%3A%2F%2Fgmail.google.com%2Fgmail";

this is the url that Joss Scholten use for sending request to google. Maybe someone can redefine this.

flak
0
 
LVL 3

Author Comment

by:phlackee
ID: 17131273
got it

POST Data:
at      null
continue      https://www.google.com:443/hosted/urbanway.net/Dashboard
service      CPanel
userName      a
password      a
0
 
LVL 7

Expert Comment

by:maUru
ID: 17131851
why the hell did i get an assist, damn you.
0
 
LVL 3

Author Comment

by:phlackee
ID: 17131891
nxnx , dont  tell people that you are asshole.
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question