i have this varibale that i got from the database, that i want to store in a cookie to post to twitter,
i.e
$_COOKIE['oauth_token']=$row['oauth_token'];
but how i set the cookie!!! thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well you can use
setcookie('oauth_token',...). But I don’t think that does what you want it to do. You cannot set cookies for foreign domains.