Re: Accessing data posted from a different URL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jay Blanchard wrote:

[snip]
Hmm, perhaps I didn't explain clearly. To put it another:

1. A script sends an email to a user with sign-in details.
2. The user clicks a [submit] button in the email message called "Quick Sign In" 3. A web browsers opens to http://www.website.com/signin.php (from the <form method="post" action="http://www.website.com/sign.php";> in the email)
4. Signin.php looks for $_POST["signindetails"] and auto-fills the form.

Except the form post is not posting signindetails...
The e-mail client may very well be ignoring the POST request. To diagnose this, you can use Ethereal or some other packet sniffing software. That will also tell you the contents of fields submitted in the POST/GET request.

Most certainly, what you want to do is not possible. I say this because Hi5 has eschewed that technique in favor of placing a hyperlink with an argument that contains a "validation code". Thus, when you click on the link (which has the validation code embedded), you're directed to the page in question and automatically logged in. To implement that, you'd need a table that correlates validation codes with user IDs on your Web application.

[/snip]

Have you tried print_r($_POST) ?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux