Fermé

Auto-login system using php curl for a few sites

I sell books on the internet on the following sites

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

I have created a crawler which scrapes websites for sales reports but unfortunately I do not know how to login to sites using php curl.

Here is an example of a php function which can log in to facebook and redirects to facebook's homepage (this function works).

function facebookLogin(){

$login_email = 'email;

$login_pass = 'pass';

$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, '[url removed, login to view]');

curl_setopt($ch, CURLOPT_POSTFIELDS,'email='.urlencode($login_email).'&pass='.urlencode($login_pass).'&login=Login');

curl_setopt($ch, CURLOPT_POST, 1);

curl_setopt($ch, CURLOPT_HEADER, 0);

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

curl_setopt($ch, CURLOPT_COOKIEJAR, "[url removed, login to view]");

curl_setopt($ch, CURLOPT_COOKIEFILE, "[url removed, login to view]");

curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3");

curl_setopt($ch, CURLOPT_REFERER, "[url removed, login to view]");

$page = curl_exec($ch);

echo $page;

}

what I want is functions for [url removed, login to view], [url removed, login to view], [url removed, login to view] and [url removed, login to view] which can do the same thing as the facebookLogin function, for an experienced person this should be an easy job. Thank you

Compétences : PHP

Voir plus : auto login, php curl auto login, what can i do for a job, sales job sites, php job uk, php function for, nt job, login system in php, job nt, job in nt, alibris, abebooks, php facebook auto login using curl, php login system, what should i do for a job, what is a crawler, amazon job login, rv, php function , login php, facebooklogin, email crawler, facebook auto using php, scrapes websites, php email login

Concernant l'employeur :
( 4 commentaires ) london, United Kingdom

N° du projet : #2340789

11 freelancers are bidding on average £118 for this job

SigmaVisual

We can help in your project, please check PMB and our ratings/reviews to get idea of our experience.

250 £ GBP en 7 jours
(227 Commentaires)
7.7
coolguyinus2004

yes we can get the same code into other websites and check it to work. SEE PMB also

150 £ GBP en 3 jours
(270 Commentaires)
7.3
srinichal

I am an expert in automation and can deliver the script

150 £ GBP en 5 jours
(80 Commentaires)
6.9
VileGnosis

Details in PMB

120 £ GBP en 0 jours
(163 Commentaires)
6.6
DrTech76

Hi, I can do this for you. Kind Regards

50 £ GBP en 1 jour
(242 Commentaires)
6.5
k1ng440

Full time freelance web developer with 7 years of commercial experience.

150 £ GBP en 2 jours
(87 Commentaires)
6.4
pablotorres

I can do it !

20 £ GBP en 5 jours
(56 Commentaires)
5.3
xpertzdevelopers

Hi, Expert here..ready to start! More details in PM..

145 £ GBP en 1 jour
(26 Commentaires)
5.3
programer786

i can do this. your satisfaction is my aim and goal. please see PM

75 £ GBP en 2 jours
(28 Commentaires)
4.7
mrnewict

Hi, please check PM!

65 £ GBP en 0 jours
(2 Commentaires)
3.7
PPPsolution

Eager to help.

100 £ GBP en 4 jours
(2 Commentaires)
3.5
sergres

Hi, i can do this. about one day (3-4 hours) for debugging auth scripts.

70 £ GBP en 1 jour
(1 Commentaire)
2.4