instead of reading cookies (plan B)

Vincent Hirth vhirth at vircas.com
Tue Dec 11 15:34:50 EST 2007


I was just thinking of an alternative to reading cookies directly - at least
in my case. What if I create a PHP file that contains the cookies in 2
lines, such as this?

 

Myusername

Mypassword

 

 

What would the python script look like if I wanted to open the file and put
the 2 values in variables? 

 

 

Thanks a lot!

 

- Dan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20071211/f7e3ac45/attachment.html>


More information about the Python-list mailing list