Solved

Loging into Gmail via php

Posted on 2006-07-17
7
517 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
7 Comments
 
LVL 7

Assisted Solution

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

Assisted Solution

by:BogoJoker
BogoJoker earned 200 total points
Comment Utility
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
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 3

Author Comment

by:phlackee
Comment Utility
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
Comment Utility
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
Comment Utility
why the hell did i get an assist, damn you.
0
 
LVL 3

Author Comment

by:phlackee
Comment Utility
nxnx , dont  tell people that you are asshole.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now