Jump to content

file_get_contents as clint side cookies


mavera2

Recommended Posts

I'm sorry if this is a silly question.

 

When user logins to some other site, he gets a member page.

Without login he gets a guest page.

 

I want to write a code that takes member page and parses it, then shows user some parts of it

user will select which parts to see.

 

but when i use

"file_get_contents", output becomes a guest page,

i suppose it is because my php server takes it without user's login data.

 

Is it possible to take member page and parse it ?

Because i don't want user to give his login information to my site.

Thank you very much for your help.

 

Link to comment
Share on other sites

i won't use the member info for myself.

i will parse it and show the user with a cleaner interface.

 

you know twitter and facebook provides you with authorizing your application

with user's approval.

but most of the websites doesn't provide authorizing or apis.

 

Link to comment
Share on other sites

It's possible with curl() if they give yo their passwords

thank you for help xyph.

I suppose that i must use javascript to get the member's contents.

Then send the data to php server parse it and show it with my interface.

Is there some similar example or which commands should i look for.

Thank you

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.