473,473 Members | 1,569 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Yahoo Login Issues

I'm trying to write a script that logs into Yahoo Fantasy Football.
Once logged in, I'll be able to grab stats and various other pieces of
info about our league. The problem I'm having deals with actually
logging in programatically.

I've been using Snoopy to help with the user agent side of things and
it seems to work well. I can successfully put together a valid yahoo
login URL based on username/password/challenge. It looks like the
following:

http://login.yahoo.com/config/login?....hash=1&.md5=1
The problem I'm having is that the login page tries to set a cookie and
I'm not sure how to accept that cookie in my script. Once I have the
cookie I can use Snoopy to pass it to subsequent http requests.
Any ideas?

Jul 17 '05 #1
2 4140
Hello,

On 08/27/2004 01:10 AM, bryce21 wrote:
I'm trying to write a script that logs into Yahoo Fantasy Football.
Once logged in, I'll be able to grab stats and various other pieces of
info about our league. The problem I'm having deals with actually
logging in programatically.

I've been using Snoopy to help with the user agent side of things and
it seems to work well. I can successfully put together a valid yahoo
login URL based on username/password/challenge. It looks like the
following:

http://login.yahoo.com/config/login?....hash=1&.md5=1
The problem I'm having is that the login page tries to set a cookie and
I'm not sure how to accept that cookie in my script. Once I have the
cookie I can use Snoopy to pass it to subsequent http requests.


You may want to try this HTTP client class that is capable of tracking
cookies and send them back to the server of the same domain.

http://www.phpclasses.org/httpclient
--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html
Jul 17 '05 #2
"bryce21" <br***********@hotmail.com> wrote in message news:<cg********@odbk17.prod.google.com>...
<snip>
http://login.yahoo.com/config/login?....hash=1&.md5=1


The problem I'm having is that the login page tries to set a cookie and
I'm not sure how to accept that cookie in my script. Once I have the
cookie I can use Snoopy to pass it to subsequent http requests.


1. http://in.php.net/curl
2. http://curl.haxx.se/libcurl/php/exam...=cookiejar.php
3. http://theory.cs.iitm.ernet.in/~arvindn/yahoo/

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: RedEye | last post by:
Hello, I am working on a test site to explore the new login controls and membership features of ASP.NET v2.0. I have tested the controls using SQL Express and have now decided to try using a...
7
by: Mahesh Devjibhai Dhola | last post by:
Hi, I want to develop p2p (peer-to-peer) communication connection for chat in ..Net (Lang: c# - preferable) NOTE: if two LAN are behind their own router then also it should work as yahoo, msn...
4
by: joe_public34 | last post by:
Hello all, I'm trying to write a script to log into Yahoo! (mail, groups, etc), but when I pass the full URL with all form elements via Python, I get a resutling 400 - Bad Request page. When I...
1
by: Andrew | last post by:
Hello, friends, I am implementing web app security using asp.net 1.1, and I found the following source code from Yahoo! Mail login page: <form method="post"...
3
by: =?Utf-8?B?TWFyY0c=?= | last post by:
I have a Server.Transfer in my asp:Login LoggedIn event handler. I am forcing transfer to a specific page since I do not want to use the ReturnURL that is in Request.Params (i.e., the user...
10
by: =?Utf-8?B?UmljaGFyZCBCeXNvdXRo?= | last post by:
Hi In my app I have a SplashScreen, a login form and a main form. On launching the app, I'd like to show the SplashScreen while reading config files and attempting a database connection. I show...
2
by: =?Utf-8?B?d2R1ZGVr?= | last post by:
I have a website using windows integrated security, with anonymous access turned off. The site is used to query orders from a database and when the search takes a long time, a windows login box...
3
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
I want to limit the user only login the system one time at the same time. I don't want him login the system two with the same user at the same time. How to do this? If i have a table to record...
4
by: Brett | last post by:
I have an ASP.NET 2.0 application that uses Forms Authentication. The startup page contains just a login control, and the site works well on an IIS 6 web server. I am now setting the site up on...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.