Re: PHP accept cookies?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ReGenesis0@xxxxxxx wrote:
Problem- I need to log into the site from a PHP script- and when I
send my login info, it responds with the following:

If you are using cURL, use curl_setopt()
http://us2.php.net/manual/en/function.curl-setopt.php with
CURLOPT_COOKIEJAR and CURLOPT_COOKIEFILE to ensure cookies sent back get
carried over.

You can also use a PHP browser emulator like SimpleTest to get similar
functionality.

- --
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <htmlpurifier.org> Anti-XSS HTML Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXijZqTO+fYacSNoRAi/IAJ9jW5zS/eVbl5iZ/Ha7XD7dvH/YZACfX+z3
gw+wQFxi5UhjWB8MAgs5Wl4=
=rkpC
-----END PGP SIGNATURE-----
.



Relevant Pages

  • Re: Generate fields on the fly for task manager
    ... series of regular tasks they need to be able to control, ... just certain tasks (developer defined) that have special fields? ... HTML Purifier Anti-XSS HTML Filter ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (comp.lang.php)
  • Re: Simplifying a basic if statement conditional
    ... it's probably like this (from fastest to slowest): ... associative arrays needing only a binary search. ... HTML Purifier Anti-XSS HTML Filter ... Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org ...
    (comp.lang.php)
  • Re: Simplifying a basic if statement conditional
    ... it's probably like this (from fastest to slowest): ... associative arrays needing only a binary search. ... HTML Purifier Anti-XSS HTML Filter ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (comp.lang.php)
  • Re: require_once fails with file in same directory
    ... so I'm inclined to distrust your testimony. ... Some definitely will work fixes: ... HTML Purifier Anti-XSS HTML Filter ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (comp.lang.php)
  • GnuPG 1.4.2 released
    ... We are pleased to announce the availability of a new stable GnuPG ... GnuPG source compressed using BZIP2 and OpenPGP signature. ... like the other cURL helpers. ... GnuPG comes with support for 28 languages: ...
    (gnu.announce)