|
-
January 13th, 2008, 04:42 AM
#1
Page download - cookie problem
What I am doing:
Simply downloading page using
file_get_contents('somesite_url'), or implode('',file('somesite_url'))
Problem:
The page requries a cookie be present on client computer which is done after clicking a button on site, if I go to url through browser normally and click 'agree' button it saves cookie on my pc and page loads fine and that 'agree' button page is not loaded again, but when I load same page through php it returns contents of the page that shows button to agree.
Question:
How can I bypass this cookie problem, and report to remote site that cookie is present so that it returns me the contents of actual page rather than the page having 'agree' button?
Need quick input and ideas for some solution.
regards
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|