比着做了一个邮箱登陆,但是失败。该如何处理
比着做了一个邮箱登陆,但是失败。
我比着http://www.hao123.com/做了一个登陆邮箱的插件。
比如以126.com 为例,hao123 那一个添上用户名密码就可以登陆。
但是我这个就登陆不了,跳转过去就变成了邮箱的登陆logo页面了。
还请大侠讲讲,我应该怎么样做一下。才行??
------解决方案--------------------
登陆的时 hao123.com 还是登陆 邮箱呢?
如果是登陆邮箱的话!我觉得没有提供API的情况下不可能实现。
有人会愿意在别人的网站上输入 自己 的邮箱帐号密码么。
------解决方案--------------------
应该需要模拟浏览器 来路之类的参数.
------解决方案--------------------
是用curl?还是自己做了个form 的html页面?
------解决方案--------------------
------解决方案--------------------
这要调用别邮箱的API,不然是登录不上的,有的不提供这样的API,换句话说对安全性的担忧,你看hao123下面也有,一些弹出式的,如果你想登录你自已的网站起到验证作用,可以选用OAUTH认证,现在用的很普遍了
------解决方案--------------------
------解决方案--------------------
你是直接跳转到126的验证页面吧?我觉得这个可能比较难。出于安全考虑,邮箱肯定会有一个提交白名单
------解决方案--------------------
------解决方案--------------------
获取163的邮箱api进行一个curl操作。
------解决方案--------------------
------解决方案--------------------
------解决方案--------------------
------解决方案--------------------
这个好像需要 邮箱方面 的支持才可以。
------解决方案--------------------
用curl,
接分
------解决方案--------------------
应该是需要126 认证的吧(应该是跟126有合约之类的合约)
反过来想,如果你记录了 有户名和密码怎么办?(126这样做也是为了维护用户的利益同时保障了自己)
------解决方案--------------------
装个fiddler,对不同邮箱登录时抓下包看提交什么参数,POST或GET,照样做一个就OK了。不过有些邮箱密码是加密的,比如qq是混合md5和md5_3进行加密,需要查看页面的js代码确定。如果有验证码,那就绕不过了。
------解决方案--------------------

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Both curl and Pythonrequests are powerful tools for sending HTTP requests. While curl is a command-line tool that allows you to send requests directly from the terminal, Python's requests library provides a more programmatic way to send requests from Python code. The basic syntax for converting curl to Pythonrequestscurl command is as follows: curl[OPTIONS]URL When converting curl command to Python request, we need to convert the options and URL into Python code. Here is an example curlPOST command: curl-XPOST https://example.com/api

To update the curl version under Linux, you can follow the steps below: Check the current curl version: First, you need to determine the curl version installed in the current system. Open a terminal and execute the following command: curl --version This command will display the current curl version information. Confirm available curl version: Before updating curl, you need to confirm the latest version available. You can visit curl's official website (curl.haxx.se) or related software sources to find the latest version of curl. Download the curl source code: Using curl or a browser, download the source code file for the curl version of your choice (usually .tar.gz or .tar.bz2

PHP8.1 released: Introducing curl for concurrent processing of multiple requests. Recently, PHP officially released the latest version of PHP8.1, which introduced an important feature: curl for concurrent processing of multiple requests. This new feature provides developers with a more efficient and flexible way to handle multiple HTTP requests, greatly improving performance and user experience. In previous versions, handling multiple requests often required creating multiple curl resources and using loops to send and receive data respectively. Although this method can achieve the purpose

From start to finish: How to use php extension cURL for HTTP requests Introduction: In web development, it is often necessary to communicate with third-party APIs or other remote servers. Using cURL to make HTTP requests is a common and powerful way. This article will introduce how to use PHP to extend cURL to perform HTTP requests, and provide some practical code examples. 1. Preparation First, make sure that php has the cURL extension installed. You can execute php-m|grepcurl on the command line to check

How to handle 301 redirection of web pages in PHPCurl? When using PHPCurl to send network requests, you will often encounter a 301 status code returned by the web page, indicating that the page has been permanently redirected. In order to handle this situation correctly, we need to add some specific options and processing logic to the Curl request. The following will introduce in detail how to handle 301 redirection of web pages in PHPCurl, and provide specific code examples. 301 redirect processing principle 301 redirect means that the server returns a 30

DJI has not confirmed any plans to introduce a new action camera yet. Instead, it seems that GoPro will get ahead of its rival this year, having teased that it will introduce two new action cameras on September 4. For context, these are expected to a

In Linux, curl is a very practical tool for transferring data to and from the server. It is a file transfer tool that uses URL rules to work under the command line; it supports file upload and download, and is a comprehensive transfer tool. . Curl provides a lot of very useful functions, including proxy access, user authentication, ftp upload and download, HTTP POST, SSL connection, cookie support, breakpoint resume and so on.

How to set cookies in php curl: 1. Create a PHP sample file; 2. Set cURL transmission options through the "curl_setopt" function; 3. Pass the cookie in CURL.
