You are here: PHP accept cookies? « PHP Programming Language « IT news, forums, messages
PHP accept cookies?

Posted by ReGenesis0 on 05/31/07 00:10

Okay, so I want to do this THANG, which involves some fairly ugly
screenscraping since it's a mashup with another site that doesn't have
friendly, mashable, controls.

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

Download the Flash plugin.
You must have cookies enabled to use the site. Please enable cookies
and click here.

The possible causes of this problem are:

* Your browser is setup to block cookies.
* Your firewall is setup to block cookies.
* Your AntiVirus program is setup to block cookies.

I gather the server is using something to test for flash, and then
settignt he appropriate cookie. I don't care about the flash- all i
need is the HTML on the next page. So how do I accept its cookie so
that I can scrape this?

(Ironically, none of this is strictly necessary for the mashup- but I
have to do this part to verify login names in order to keep users from
messing with other users' accounts. Clearly I am a saint for enduring
this unnecessary suffering.)

-Derik

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация